# Scaled Step Response & Scaled Ramp Response of Transfer Function

조회 수: 27 (최근 30일)
Ibrahim Erdem Uzuncayir . 2023년 1월 4일
댓글: Ibrahim Erdem Uzuncayir . 2023년 1월 4일
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 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없음 표시없음 숨기기
Ibrahim Erdem Uzuncayir 2023년 1월 4일
Thanks! I knew it was something easy but couldn't find thanks again

댓글을 달려면 로그인하십시오.

### 추가 답변 (1개)

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)
##### 댓글 수: 1없음 표시없음 숨기기
Ibrahim Erdem Uzuncayir 2023년 1월 4일
Thanks ! It helped me and I solved it.

댓글을 달려면 로그인하십시오.

### 카테고리

Help CenterFile Exchange에서 Digital Filter Analysis에 대해 자세히 알아보기

R2021b

### Community Treasure Hunt

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

Start Hunting!