# Step Function (G Dataflow)

Version:

Generates the step function for any real number.

A real number.

## step(x)

Value of the step function for the given value of x.

## Algorithm for Calculating the Step Function

The following equation defines the step function.

$\mathrm{step}\left(x\right)=\left\{\begin{array}{cc}0& \text{if}\text{x}<0\\ 1& \text{elsewhere}\end{array}$

The following illustration shows the graph for step(x) + spike(x) in the interval (-4.0, 4.0).

Where This Node Can Run:

Desktop OS: Windows

FPGA: Not supported

Web Server: Not supported in VIs that run in a web application