Navigation: Scripting Reference Manual > Functions & Subroutines > CmpxArg

 

CmpxArg

 

Contact Us: fredsupport@photonengr.com

 

Description

Returns the Argument (phase angle) of a complex number, in radians.

 

Syntax

arg = CmpxArg ( real, imag )

 

Parameters

arg (Double)

Argument of the complex number.

 

real As Double

The real part of the complex number.

 

imag As Double

The imaginary part of the complex number.

 

Remarks

This function returns the Argument (phase angle) of a complex number, in radians. No errors are set.

 

Returns atan(img/real)

 

See Also

CmpxAdd

CmpxSub

CmpxMult

CmpxDiv

CmpxSqrt

CmpxAbs

CmpxAbs2

Examples

 

 

 

 

 

Copyright © Photon Engineering, LLC