Target Support Package - QMath Library

4 vues (au cours des 30 derniers jours)
Punamchandra
Punamchandra le 25 Jan 2011
I am using qMath library (Target Support package TI) in present development. I want to use atan2 block but I am not being able to identify why there are two inputs to this block. Has anyone used this before and know how to use these two inputs.

Réponse acceptée

Richard Pfisterer
Richard Pfisterer le 25 Jan 2011
The IQ math ATAN2 function is equivalent to the ATAN2 function in MATLAB. Read the help in MATLAB
>>doc atan2
In short, one needs to know the two values in order to compute which quadrant one is in. If you used X/Y there would be no way to determine the sign on X and Y which determines the quadrant one is in.

Plus de réponses (0)

Catégories

En savoir plus sur File Operations dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by