PHASE

Purpose:

Calculates the phase angle of a complex expression.

Syntax:

PHASE(val)

val

-

A scalar, series or table.

Returns:

A scalar, series, or table.

Example:

phase(1 + i)

 

returns 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:

PHASE returns a value from -π to π.

 

ANGLE returns a value from 0 to 2π.

See Also:

ADDPHASE

ANGLE

CARTESIAN

CONJUGATE

IMAGINARY

MAGNITUDE

MAKECARTESIAN

MAKEPOLAR

PHASEDIFF

PHASESPEC

POLAR

REAL

UNWRAP