Hot to get the data of the STEP input (u) instead of the output respond ([y,t]= step(sys)?
Show older comments
I want to plot the step input curve of my process below my output response.
Answers (1)
Azzi Abdelmalek
on 27 Sep 2012
Edited: Azzi Abdelmalek
on 27 Sep 2012
%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)
Categories
Find more on Time-Domain Analysis in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!