User`s guide
Table Of Contents
- Getting Started
- Using the IQmath Library
- Block Reference
- Blocks — Alphabetical List
- Absolute IQN
- Arctangent IQN
- C24x ADC
- C24x CAN Receive
- C24x CAN Transmit
- C24x From Memory
- C24x PWM
- C24x To Memory
- C28x ADC
- C28x eCAN Receive
- C28x eCAN Transmit
- C28x From Memory
- C28x PWM
- C28x To Memory
- Division IQN
- F2812 eZdsp
- Float to IQN
- Fractional part IQN
- Fractional part IQN x int32
- Integer part IQN
- Integer part IQN x int32
- IQN to Float
- IQN x int32
- IQN x IQN
- IQN1 to IQN2
- IQN1 x IQN2
- LF2407 eZdsp
- Magnitude IQN
- Saturate IQN
- Square Root IQN
- Trig Fcn IQN
- Index

Arctangent IQN
3-8
3Arctangent IQN
Purpose Calculate the four-quadrant arc tangent
Library tiiqmathlib in Embedded Target for TI C2000 DSP
Description This block computes the four-quadrant arc tangent of the IQ number inputs
and produces IQ number output.
Function option — Type of arc tangent to calculate, either
•
atan2 — Compute the four-quadrant arc tangent with output in radians
with values between -pi and +pi.
•
atan2PU — Compute the four-quadrant arc tangent per unit. If atan2(B,A)
is greater than or equal to zero,
atan2PU(B,A) = atan2(B,A)/2*pi.
Otherwise,
atan2PU(B,A) = atan2(B,A)/2*pi+1. The output is in per-unit
radians with values from 0 to 2pi radians.
Dialog Box
See Also
Absolute IQN, Division IQN, Float to IQN, Fractional part IQN, Fractional
part IQN x int32, Integer part IQN, Integer part IQN x int32, IQN to Float,
IQN x int32, IQN x IQN, IQN1 to IQN2, IQN1 x IQN2, Magnitude IQN,
Saturate IQN, Square Root IQN, Trig Fcn IQN
A
B
Y
IQNatan2
IQmath
Arctangent IQN