step()

A step function that returns 0, 0.5, or 1. Returns: 0 if the argument < 0, 0.5 if argument = 0, or 1 if the argument > 0.

Syntax:

step(num);

where

num is any integer, real, or complex number.

Example:
decl increment;
increment = step(1.5);        // returns 1

Where Used:

Measurement Expressions (Data Display equations and Schematic MeasEqns), Schematic, Layout, Simulation, GUI

 

Privacy Statement  | Terms of Use  | Legal | Contact Us  | © Agilent 2000-2008 

Contents
Additional Resources