IQ math library usage
조회 수: 7 (최근 30일)
이전 댓글 표시
Hi all,
I am having some trouble with the IQmath library for enhancing code speed. I have a double PI controller inside an ISR triggered by an ADC interrupt. The SOC for the ADC happens every 12us.
If I have the controller self made with normal floating point multiply operations and data types it works fine. However, when I try to exchange the controller or its operations with blocks from the library IQmath, my code becomes slower and can no longer reach these 12us.
Is there something I am missing out here? I have no fixed point license, could that be causing any inconvenience?
Here a small extraction of the code. From here I am guessing the installation of the IQmath lib went OK.

Thanks for the help
댓글 수: 0
답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!