POLAR

Purpose:

Converts the input value to magnitude/phase form.

Syntax:

POLAR(val)

val

-

A scalar, series or table.

Returns:

Complex scalar, series, or table.

Example:

polar(gsin(20,.05,1))

 

creates a 1 Hz sine wave consisting of 20 points spaced every 0.05 radians apart. The value of each point in the sine wave is a Complex number in magnitude/phase form.

Example:

polar(-1)

 

produces a Complex scalar where the magnitude = 1.0 and the phase = π radians.

Remarks:

Returns a Complex value regardless of the input value.

 

See MAKEPOLAR to combine two real numbers into a complex number in polar form.

See Also:

CARTESIAN

IMAGINARY

MAGNITUDE

MAKECARTESIAN

MAKEPOLAR

PHASE

REAL