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