Please suggest me how to calculate absolute value of a complex number in C66x dsp. Is there any function in DSP lib to do this?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Please suggest me how to calculate absolute value of a complex number in C66x dsp. Is there any function in DSP lib to do this?
Ranjit Kumar said:Please suggest me how to calculate absolute value of a complex number in C66x dsp. Is there any function in DSP lib to do this?
Hi,
In my knowledge, there is c64x+ IQ math library in which there are functions to compute absolute value of a IQ number and other than this, we do not find functions directly which does the absolute value of complex number. May be, there are functions to compute square root and also magnitude square functions (Magnitude square: sqrt(A2 + B2))
To download IQmath, please go to:
http://focus.ti.com/docs/toolsw/folders/print/sprc542.html
See Table 3-5 for the mathematical functions available from the c64x+ IQ math library user guide below:
http://www.ti.com/lit/ug/sprugg9/sprugg9.pdf
Also, check the below wiki for MATHLIB and IQMATHLIB:
http://processors.wiki.ti.com/index.php/Software_libraries#MathLIB
Thanks & regards,
Sivaraj K
----------------------------------------------------------------------------------------------------------
Please click the Verify Answer button on this post if it answers your question.
----------------------------------------------------------------------------------------------------------