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.
0 个评论
采纳的回答
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 个评论
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!