how find ramp response

1,084 views (last 30 days)
manoj saini
manoj saini on 15 Feb 2013
Answered: Nadir Alsabaey on 15 Jul 2023
what is method to find out ramp response of a transfer system.......... there is any command like step or impulse?
  1 Comment
Mercy Mercy
Mercy Mercy on 16 Jul 2020
Find the time response for the system G(s)=1/s+19 for unit r amp input

Sign in to comment.

Accepted Answer

Teja Muppirala
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
  3 Comments
Louis Lee
Louis Lee on 9 Oct 2017
And then do some manual convolution
Akash Vyas
Akash Vyas on 15 Apr 2022
Edited: Akash Vyas on 15 Apr 2022
I don't think impulse(G*U) will work in matlab. I tried both these method but ans is different.

Sign in to comment.

More Answers (5)

Azzi Abdelmalek
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
ramp=alpha*t % Your input signal
model=tf(1,[1 20 3]); % Your transfer function
[y,t]=lsim(model,ramp,t)
plot(t,y)
  2 Comments
Daniel
Daniel on 12 Oct 2022
what is alpha
Sam Chak
Sam Chak on 12 Oct 2022
Slope of that Ramp signal that can be defined by user.
But for a standard Ramp input, is used.

Sign in to comment.


Mercy Mercy
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
zalikha zamri on 18 Dec 2020
how to get a ramp response from s^2+3s/ s^2+7s+6
  1 Comment
Ibrahim Baza
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)

Sign in to comment.


Md. Harisul Islam
Md. Harisul Islam on 5 Dec 2021
Find the Laplace Transform of

Nadir Alsabaey
Nadir Alsabaey on 15 Jul 2023
Q --> Consider a system of the form shown in the figure in Problem 1. Let 𝐺(𝑠) = 𝐾 (𝑠+3) (𝑠+5) / 𝑠(𝑠+7) (𝑠+8)
1. a. What is the system type?
b. Consider 𝐾 = 1. On the same figure, plot the ramp input along with its response using lsim() command.

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!