Scaled Step Response & Scaled Ramp Response of Transfer Function
Ältere Kommentare anzeigen
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!
Akzeptierte Antwort
Weitere Antworten (1)
Mathieu NOE
am 4 Jan. 2023
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)
Kategorien
Mehr zu Waveform Generation finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

