abs()
Returns the absolute value of a real number or an integer. In the case of a complex number, the abs function:
- accepts one complex argument.
- returns a positive real number.
- returns the magnitude of its complex argument.
Syntax:
abs(num);
where
num is any number.
Example:
decl a;
a = abs(-12.3); // a=12.3
Download Example File:
The following link(s) lead to the Agilent EEsof EDA Knowledge center website. You will need to register at this site with a valid support contract to download an example file.
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 ![]()