필터 지우기
필터 지우기

Scaled Step Response & Scaled Ramp Response of Transfer Function

조회 수: 40 (최근 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