请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
器件型号:MSP430FR5994 尊敬的 TI:
LEA 模块是否支持以如下方式计算复杂矢量的幅度:
mag=sqrt (实数^2+img^2)
谢谢、
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.
尊敬的 TI:
LEA 模块是否支持以如下方式计算复杂矢量的幅度:
mag=sqrt (实数^2+img^2)
谢谢、
Alexey
您好 Alexey
我们可以执行 mag=Real^2+img^2,请参阅 MSP DSP 库 :software-dl.ti.com/.../group__dsplib__transform__real.html
而 sqrt 可以使用 QMATH 库实现: http://www.ti.com/tool/MSP-IQMATHLIB