How to change the data type?

1 vue (au cours des 30 derniers jours)
Daeil Noh
Daeil Noh le 17 Nov 2018
Commenté : Walter Roberson le 17 Nov 2018
Hi I used Matlab simulink file.
I use the two type simulation.
1.type 1
1) solver type : variable step
2) simulation type and sample time : discrete, 1e-6
2. type 2
1) solver type : fixed type
2) simulation type : continuous
I want to use type 1 output data for type 2 input data
And the data is updata at every 1 second in type 2.
How to make this simulation in type 2?
  1 commentaire
Walter Roberson
Walter Roberson le 17 Nov 2018
Any time you have aa continuous system there should be an associated mathematical model of the system . To introduce discrete samples into a continuous system then your mathematical model needs to use something equivalent to Dirac Delta or Heaviside function . But to calculate continuous systems properly much of the time you need to be able to calculate derivatives . Now , how do you want to define the instantaneous derivative of dirac or heaviside right at the transition times ?

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Modeling dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by