Skip to content

UnitStep

UnitStep(expr)

returns 0, if expr is less than 0 and returns 1, if expr is greater equal than 0.

See

Examples

>> UnitStep(-42)
0

Piecewise

Implementation status

  • ✅ - full supported

Github