MAKEPOLAR

Purpose:

Combines two input expressions into complex Polar (Magnitude/Phase) form.

Syntax:

MAKEPOLAR(val1, val2)

val1

-

A scalar, series or table.

val2

-

A scalar, series or table.

Returns:

Complex scalar, series, or table in Magnitude/Phase form.

Example:

makepolar(1, 2)

 

returns the scalar 1, 2a == -0.416147 +0.909297i.

Example:

makepolar(1..5, 2)

 

returns the complex series {1 2a, 2 2a, 3 2a, 4 2a, 5 2a}.

Example:

makepolar(W1, W2)

 

is equivalent to W1 * exp(i*W2) for W1 and W2 real series.

Remarks:

Returns a Complex value regardless of the input value. If at least one of the input arguments is a series, MAKEPOLAR returns a Complex series.

 

makepolar(a, b) is equivalent to a * exp(i*b).

 

For complex inputs, makepolar(a, b) is equivalent to real(a) * exp(i*real(b)).

See Also:

CARTESIAN

IMAGINARY

MAKECARTESIAN

PHASE

POLAR

REAL