How can you obtain a system time response to a ramp function in Matlab?
2 views (last 30 days)
Show older comments
I need to explain this in words and as I am new to matlab I do not know how to obtain a ramp function from a system time response via Matlab.
0 Comments
Accepted Answer
TastyPastry
on 21 Oct 2015
t=0:0.1:10
alpha=2
ramp=alpha*t % Your input signal
model=tf(1,[1 20 3]); % Your transfer function
[y,t]=lsim(model,ramp,t)
plot(t,y)
0 Comments
More Answers (0)
See Also
Categories
Find more on Dynamic System Models 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!