Motorola DSP Developer's Kit
angle-c.asm
Motorola DSP Developer's Kit
angle-c.asm
Motorola DSP Developer's Kit    
angle-c.asm

MATLAB Usage

Description

This function returns the inverse tangent (arctangent) of the input complex vector X

Input/Output

Input: Complex vector X (includes the real part Xr and the imaginary part Xi)

Output: Vector Y

Algorithm

Use the CORDIC algorithm. For each input vector, x represents the real part, and y represents the imaginary part of the input vector.

Memory & Register

Memory allocation:

Register usage:

Status Register

The assembly function angle-c.asm does not explicitly set any status registers/bits during the function execution.

Data Size Limit

The length of vector X is limited by the size of available continuous data memory.

Data Range Limit

The input vector X range is [-1.0, +1.0].

Precision

In the case of DSP563, precision is 17 bits.

In the case of DSP566, precision is 10 bits.

Performance Limit

In the case of DSP563:

In the case of DSP566:


 abs-c.asm conv-r.asm