Wrong "step" function answer
Show older comments
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 Comments
Rick Rosson
on 14 Dec 2014
Please type:
which step -all
and post the results.
Simon Duque T.
on 14 Dec 2014
Accepted Answer
More Answers (2)
Youssef Khmou
on 14 Dec 2014
0 votes
According to the system you described, here the result i obtained :

1 Comment
Simon Duque T.
on 14 Dec 2014
Simon Duque T.
on 14 Dec 2014
0 votes
Categories
Find more on Plot Customization in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!