ANGLE

Purpose:

Calculates the angle component of a complex expression.

Syntax:

ANGLE(val)

val

-

A scalar, series or table.

Returns:

Series, scalar, or table.

Example:

angle(-1.0)

 

returns the scalar 3.14159625, or π.

Example:

angle(5+5i)

 

yields 0.78539816 or π/4.

Example:

W1: 1..5

W2: fft(w1)

W3: angle(w2)

W4: phase(w2)

 

W3 == {0.000000, 2.199115, 2.827433,  3.455752,  4.084070}

W4 == {0.000000, 2.199115, 2.827433, -2.827433, -2.199115}

 

W3 returns a value from 0 to 2π.

W4 returns a value from -π to π.

Remarks:

ANGLE returns a value from 0 to 2π.

 

PHASE returns a value from -π to π.

See Also:

CARTESIAN

CONJUGATE

IMAGINARY

MAGNITUDE

MAKECARTESIAN

MAKEPOLAR

PHASE

POLAR

REAL

UNWRAP