Wrong "step" function answer
Afficher commentaires plus anciens
Hello everybody
I'm using Matlab to study basic control theory and I'm simulating the time-response of different order systems. For this I was told to use the "step" function to see the time-response of the system to a Heaviside input but the plot I get using it doesn't match the theorical graph. Here is the simple code used:
H=tf([0 1],[1 2 3]);
figure(2)
step(H)
The answer presented by Matlab is:

I tried re-installiing Matlab, but the problem is still there. I appreciate the help you could bring me Greeting SimD
2 commentaires
Rick Rosson
le 14 Déc 2014
Please type:
which step -all
and post the results.
Simon Duque T.
le 14 Déc 2014
Réponse acceptée
Plus de réponses (2)
Youssef Khmou
le 14 Déc 2014
0 votes
According to the system you described, here the result i obtained :

1 commentaire
Simon Duque T.
le 14 Déc 2014
Simon Duque T.
le 14 Déc 2014
0 votes
Catégories
En savoir plus sur Plot Customization dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!