Motorola DSP Developer's Kit | ![]() ![]() |
Compute the phase angle of a real- or complex-valued signal.
MATLAB Syntax
Description
mot566_angle returns the phase angles, in radians, of every elements within a matrix. Input elements can be complex.
Characteristics
In the workspace, if the input is:
x=[-0.6813 - 0.6822i 0.5028 - 0.1509i 0.3046 - 0.8600i; -0.3795 + 0.3028i 0.7095 - 0.6979i 0.1897 + 0.8537i; 0.8318 - 0.5417i -0.4289 - 0.3784i 0.1934 - 0.5936i] mot566_angle(x,'56601')
ans=-2.3555 -0.2916 -1.2304 2.4681 -0.7772 1.3521 -0.5772 -2.4187 -1.2558
Arguments
X
Vector (or matrix) with elements normalized in the range [-1,1] (for complex elements, both real and imaginary parts should comply with this limit).
See Also
mot566_log mot566_log10 mot566_sqrt
![]() | mot566_abs | mot566_conv | ![]() |