Signal Processing Toolbox Help Desk

angle

Purpose

Phase angle.

Syntax

Description

p = angle(h) returns the phase angles, in radians, of the elements of complex vector or array h. The phase angles lie between - and .

For complex sequence h = x + iy = meip, the magnitude and phase are given by

To convert back to the original h from its magnitude and phase:

This function is part of the standard MATLAB environment.

Example

Calculate the phase of the FFT of a sequence:

Plot the phase:

Algorithm

angle can be expressed as:

See Also

abs

Absolute value (magnitude).



[ Previous | Help Desk | Next ]