Target Support Package - QMath Library

2 次查看(过去 30 天)
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.

采纳的回答

Richard Pfisterer
Richard Pfisterer 2011-1-25
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.

更多回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by