From 6:00 PM CST Friday, Feb 15th - 2:00 AM CST Sunday, Feb 17th, ni.com will be undergoing system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Table Of Contents

Step Function (G Dataflow)

Last Modified: January 12, 2018

Generates the step function for any real number.

connector_pane_image
datatype_icon

x

A real number.

datatype_icon

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.

step ( x ) = { 0 if x < 0 1 elsewhere

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


Recently Viewed Topics