How can you obtain a system time response to a ramp function in Matlab?

1 view (last 30 days)
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.

Accepted Answer

TastyPastry
TastyPastry on 21 Oct 2015
There's a solution by Azzi Abdelmalek here
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)

More Answers (0)

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!