Analog Devices VISUALDSP++ 3.5 Manual page 508

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
Table 4-10
shows how negative values for the phase argument are inter-
preted as a clockwise movement around a circle.
Table 4-10. Negative Phases
Phase
-0.25 (0xe000)
-0.50 (0xc000)
-0.75 (0xa000)
-1.00 (0x8000)
Algorithm
Re(c) = r*cos(
Im(c) = r*sin(
where θ is the phase, and
Domain
phase = [-9099 ... 9099]
magnitude = -3.4 x 10
phase = [-1.0 ...+0.999969]
magnitude = [-1.0 ... 1.0)
Example
#include <complex.h>
#define PI 3.14159265
complex_fract16 point;
float phase_float;
4-92
Radians
3/2 π
π
π /2
2 π
θ
)
θ
)
is the magnitude
r
38
... +3.4 x 10
VisualDSP++ 3.5 C/C++ Compiler and Library Manual
for
polarf( ), polar( )
38
for
polarf( ), polar( )
for
polar_fr16( )
for
polar_fr16( )
for ADSP-219x DSPs

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