# how find ramp response

1.677 views (last 30 days)
manoj saini on 15 Feb 2013
Commented: Ibrahim Baza on 22 Jun 2021
what is method to find out ramp response of a transfer system.......... there is any command like step or impulse?
Mercy Mercy on 16 Jul 2020
Find the time response for the system G(s)=1/s+19 for unit r amp input

Teja Muppirala on 15 Feb 2013
You could get the ramp response by dividing your transfer function by s, and then taking the step response.
For example:
s = tf('s');
G = 1/(s+1);
figure
subplot(311), impulse(G); % Impulse reponse
subplot(312), step(G); % Step Response
subplot(313), step(G / s); % Ramp response
##### 2 CommentsShowHide 1 older comment
Louis Lee on 9 Oct 2017
And then do some manual convolution

Azzi Abdelmalek on 15 Feb 2013
Edited: Azzi Abdelmalek on 15 Feb 2013
You can use lsim function for any input
t=0:0.1:10
alpha=2
model=tf(1,[1 20 3]); % Your transfer function
[y,t]=lsim(model,ramp,t)
plot(t,y)

Mercy Mercy on 16 Jul 2020
Find the time response for the system G(s)=1/s+19 for unit r amp input

zalikha zamri on 18 Dec 2020
how to get a ramp response from s^2+3s/ s^2+7s+6
Ibrahim Baza on 22 Jun 2021
%just define the tf and use step function to change the tf from T=1*G to
%T=1/s * G
s=tf('s');
T=(s^2+3*s)/ (s^2+7*s+6);
step(T/s)