Navigation: Language Reference > Functions > Source >
y = ramp(x);
Returns a ramp signal with start time x:
time < x: y = 0
time >= x: y is time - x
x = 20, amplitude = 10;
y = amplitude*ramp(x);
x and y must be scalars.