mag()

Returns the absolute/magnitude value of an integer, real, or complex number.

Syntax:

mag(num);

where

num is any integer, real, or complex number.

Example:
decl a;
a = mag(-4-6i);        // a=7.211102550928

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