Target Support Package - QMath Library

4 visualizaciones (últimos 30 días)
Punamchandra
Punamchandra el 25 de En. de 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.

Respuesta aceptada

Richard Pfisterer
Richard Pfisterer el 25 de En. de 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.

Más respuestas (0)

Categorías

Más información sobre File Operations en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by