Cartesian - Analog Devices VISUALDSP++ 3.5 Manual

C/c++ compiler and library for adsp-219x processors
Hide thumbs Also See for VISUALDSP++ 3.5:
Table of Contents

Advertisement

DSP Run-Time Library Reference

cartesian

convert Cartesian to polar notation
Synopsis
#include <complex.h>
float cartesianf (complex_float a, float *phase);
double cartesian (complex_double a, double *phase);
fract16 cartesian_fr16 (complex_fract16 a, fract16 *phase);
Description
This function transforms a complex number from Cartesian notation to
polar notation. The Cartesian number is represented by the argument
that the function converts into a corresponding magnitude, which it
returns as the function's result, and a phase that is returned via the second
argument
phase
L
Refer to the description of the
how a phase, represented as a fractional number, is interpreted in
polar notation (see
Algorithm
magnitude = cabs(a)
phase = arg(a)
Domain
38
-3.4 x 10
to +3.4 x 10
-1.0 to +1.0
4-32
.
"polar" on page
38
for
for
VisualDSP++ 3.5 C/C++ Compiler and Library Manual
function which explains
polar_fr16
4-91).
cartesianf ( ), cartesian ( )
cartesian_fr16 ( )
for ADSP-219x DSPs
a

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the VISUALDSP++ 3.5 and is the answer not in the manual?

Subscribe to Our Youtube Channel

Related Products for Analog Devices VISUALDSP++ 3.5

Table of Contents