Hot to get the data of the STEP input (u) instead of the output respond ([y,t]= step(sys)?

Answers (1)

%for continuous system
%e.g H(p) =1/(p+2)
N=1
D=[1 2]
model=tf(N,D)
[y,t]=step(model,[0:0.1:10])
plot(t,y)

Asked:

on 27 Sep 2012

Community Treasure Hunt

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

Start Hunting!