Scaled Step Response & Scaled Ramp Response of Transfer Function

47 次查看(过去 30 天)
Hi,Everyone I am new here this will be my first question I don't know I am asking properly. Anyway I try to get step response of some transfer function but step function should be 1.5u(t) and also I should get ramp response of transfer function that ramp function should be 1.5r(t) as well. I couldn't find how can I do this.If anyone could help me I will be happy!

采纳的回答

Bora Eryilmaz
Bora Eryilmaz 2023-1-4
编辑:Bora Eryilmaz 2023-1-4
Since responses of linear time-invariant (LTI) systems have the same shape for various amplitudes of a given input signal and are just scaled linearly with the magnitude of the input signal, you can just multiply the system transfer function with the magnitue, a, of the step input to find the step response for a*u(t):
G = tf(1, [1 .5 1]);
scale = 1.5;
step(scale*G) % Step response for 1.5*u(t)
title('Step Response for 1.5*u(t)')
The ramp response is the same as the step response of the original system augmented by 1/s. In other words, the ramp response is the integral of the step response and 1/s corresponds to integration in s-domain:
s = tf('s');
step(scale*G/s, 25)
title('Ramp Response for 1.5*r(t)')

更多回答(1 个)

Mathieu NOE
Mathieu NOE 2023-1-4
hello
for linear time invariant systems , you can simply multiply the normalized output of step and impulse by your input amplitude
see example below :
s = tf('s');
G = 1/(s+1);
[yi,ti] = impulse(G); % Impulse reponse (for input amplitude = 1)
[ys,ts] = step(G); % Step Response (for input amplitude = 1)
[yr,tr] = step(G / s); % Ramp response (for input amplitude = 1)
figure
subplot(311), plot(ti,1.5*yi); % Impulse reponse (for input amplitude = 1.5)
subplot(312), plot(ts,1.5*ys); % Step Response (for input amplitude = 1.5)
subplot(313), plot(tr,1.5*yr); % Ramp response (for input amplitude = 1.5)

类别

Help CenterFile Exchange 中查找有关 Matched Filter and Ambiguity Function 的更多信息

产品


版本

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by