How can I get the code for MATLAB's FFT and CZT functions?
3 ビュー (過去 30 日間)
古いコメントを表示
I'm looking to dig around inside of the FFT and Chirp Z-Transform CZT functions to see how performance is impacted by changing the bit depths at various points in the computation. My goal is to arrive at a more efficient FPGA implementation for my unique operating conditions. I would like to start with the code for these functions, which is somewhere inside of MATLAB, instead of writing the code directly from math papers. Unfortunately, when I use "edit fft" I get nothing but a large comment block ending in "Built-in function." How do I get the code out of these functions so I can alter and optimize it?
To be clear, I don't care about assigning these new functions to be used by default by MATLAB or superceding or alterning the built in functions themselves, I just want to make a copy to work with.
Thank you.
0 件のコメント
採用された回答
Sreelakshmi S.B
2019 年 5 月 6 日
Typing 'edit czt' will give you the source code for the czt function in MATLAB. In the case of FFT, MATLAB uses the FFTW library,for which the source is freely available online.
0 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Transforms についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!