Step Function Generator

Syntax


y = step(tz)

Description


Generates a signal which changes from zero to one at tz.  Specifically:


y = 0.0                when T < tz

y = 1.0                when T >= tz

Example


y = k*ramp(1.5)