MATLAB Answers

Does anyone have any experience or success using the manually written fixed-point fft provided by Mathworks in this example?

조회 수: 13(최근 30일)
Joshua Ford
Joshua Ford 2021년 5월 25일
답변: Andy Bartlett 2021년 6월 8일
I am trying to use an fft in fixed-point within MATLAB. I have found a solution within mathworks - a page that goes through manually written functions conducting fixed-point fft. I have successfully used the example, however I am having some problems with using it in scripts and other functions. When I use the data and same model in MATLAB and Simulink. The results produced by the mathworks solution is different to the solution produced by Simulink (fixed-point fft).
Does anyone have any experience or success using this method?

답변(1개)

Andy Bartlett
Andy Bartlett 2021년 6월 8일
The FFT provided by DSP System Toolbox as MATLAB callable system object dsp.FFT or as the FFT block should be consistent with each other.
The example you cited above is designed to be a sufficiently "meaty" example illustrating the conversion workflow, and is not designed to be bit true with every nuance in the FFT (object or block) shipped with DSP System Toolbox.
For developing your production embedded systems, I recommend you use the FFT from DSP System Toolbox unless you have a specific reason to customize it.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by