Why these two codes produce different graphs? How can I make the second graph be like the first?
1st:
t=0:0.3:10;step(c2d(tf(1,[1 1]),0.3),t);
2nd:
t=0:0.3:10;[y,t]=step(c2d(tf(1,[1 1]),0.3),t);plot(t,y)
Control System Toolboxplot step graphs discrete
t=0:0.3:10;step(c2d(tf(1,[1 1]),0.3),t);
t=0:0.3:10;[y,t]=step(c2d(tf(1,[1 1]),0.3),t);plot(t,y)
Best Answer