ramp
Function File: ramp (sys)
Function File: ramp (sys1, sys2, …, sysN)
Function File: ramp (sys1, ’style1’, …, sysN, ’styleN’)
Function File: ramp (sys1, …, t)
Function File: ramp (sys1, …, tfinal)
Function File: ramp (sys1, …, tfinal, dt)
Function File: [y, t, x] = ramp (sys)
Function File: [y, t, x] = ramp (sys, t)
Function File: [y, t, x] = ramp (sys, tfinal)
Function File: [y, t, x] = ramp (sys, tfinal, dt)
Ramp response of LTI system. If no output arguments are given, the response is printed on the screen. $$ r(t) = t \, \cdot \, h(t) $$
Inputs
help plot for details.Outputs
length (t) rows and as many columns as states.See also: impulse, initial, lsim, step
Source Code: ramp
clf;
s = tf ('s');
G = 1/(2*s^2+3*s+4);
T = 2/3;
Gdzoh = c2d (G, T);
Gdfoh = c2d (G, T, 'foh');
ramp (G, Gdzoh, ';G_{d,zoh};', Gdfoh, ';G_{d,foh};');
title ("Ramp response PT_2 together with zoh- and foh discretization");