what is method to find out ramp response of a transfer system.......... there is any command like step or impulse?

1 commentaire

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

Connectez-vous pour commenter.

 Réponse acceptée

Teja Muppirala
Teja Muppirala le 15 Fév 2013

14 votes

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 commentaires

% or more general:
out=impulse(G*U) % G your transfer function
% U the Laplace transform of your input signal
Louis Lee
Louis Lee le 9 Oct 2017
And then do some manual convolution
Akash Vyas
Akash Vyas le 15 Avr 2022
Modifié(e) : Akash Vyas le 15 Avr 2022
I don't think impulse(G*U) will work in matlab. I tried both these method but ans is different.

Connectez-vous pour commenter.

Plus de réponses (6)

Azzi Abdelmalek
Azzi Abdelmalek le 15 Fév 2013
Modifié(e) : Azzi Abdelmalek le 15 Fév 2013

13 votes

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)
Mercy Mercy
Mercy Mercy le 16 Juil 2020

0 votes

Find the time response for the system G(s)=1/s+19 for unit r amp input
zalikha zamri
zalikha zamri le 18 Déc 2020

0 votes

how to get a ramp response from s^2+3s/ s^2+7s+6

1 commentaire

Ibrahim Baza
Ibrahim Baza le 22 Juin 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)

Connectez-vous pour commenter.

Md. Harisul Islam
Md. Harisul Islam le 5 Déc 2021

0 votes

Find the Laplace Transform of
Nadir Alsabaey
Nadir Alsabaey le 15 Juil 2023

0 votes

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.
Iqra
Iqra le 31 Mar 2024

0 votes

give matlab code for ramp response having num=[3] and den=[ 0.1 1]

1 commentaire

DGM
DGM le 31 Mar 2024
Modifié(e) : DGM le 31 Mar 2024
The answer has already been given twice. Scroll up and read.

Connectez-vous pour commenter.

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by