fftshift implementation in Simulink
Show older comments
I need to generate IPs for HDL implementation of an algorithm. I need to do fftshift in simulink but there is no fftshift block avaiable. Is there any way we can do fftshift of the output data from FFT block from DSP HDL toolbox? I am attaching FFT model for reference.
Accepted Answer
More Answers (1)
fftshift is extended to code generation. Assuming the data output from the FFT block is in linear order, you can call fftshift from inside a MatlabFunction block.
Categories
Find more on Transforms in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!