Hi TI,
Does LEA module support magnitude calculation of complex vectors in a way such as:
mag=sqrt(real^2+img^2)
Thanks,
Alexey
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.
Hi TI,
Does LEA module support magnitude calculation of complex vectors in a way such as:
mag=sqrt(real^2+img^2)
Thanks,
Alexey
Hi Alexey
We can do mag=real^2+img^2 refer to the MSP DSP Library : software-dl.ti.com/.../group__dsplib__transform__real.html
and the sqrt you can do it with the QMATH library:: http://www.ti.com/tool/MSP-IQMATHLIB
Gary,
Thank you for your reply, but this aproach does not fit well for such computations. That's why IQMath library has specific function for that to avoid overflow of 16 bit multiplication.
But I asked this question becouse LEA has many functions not implemented by the official library, including window function for FFT, long list fast move operation outside LEA memory range, etc. Even patching the commands' implementation on LEA code memory.
Just would be good to have a full stack of signal processing on LEA library.
Thanks,
Alexey
**Attention** This is a public forum