step

Navigation:  Language Reference > Functions > Source >

step

Previous pageReturn to chapter overviewNext page

Syntax

y = step(x);

Description

Returns a step signal with start time x:

time < x: y = 0

time >= x: y = 1

Examples

x = 20, amplitude = 10;

y = amplitude*step(x);

Limitations

x and y must be scalars.