cmplx()

Given two real numbers representing the real and imaginary components of a complex number, returns a complex number.

Note
Use the real and imag functions to retrieve the real and imaginary components, respectively. The basic math functions operate on complex numbers.

Syntax:

cmplx(realPart, imagPart);

where

realPart is the real component of the number.

imagPart is the imaginary component.

Example:
decl cmpx;
cmpx = cmplx(10.0, 3);        // returns the complex number (10.0+3i)

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