MATLAB Function Reference    
angle

Phase angle

Syntax

Description

P = angle(Z) returns the phase angles, in radians, for each element of complex array Z. The angles lie between .

For complex Z, the magnitude and phase angle are given by

and the statement

converts back to the original complex Z.

Examples

Algorithm

angle can be expressed as:

See Also

abs, unwrap


 alphamap ans