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

ramp function

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.

Best Answer

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)