Calculate only fraction of spectrum with FFT
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
I have a signal with 4096 samples. I can calculate the frequency spectrum of this signal with fft. But I am only interested in a small fraction of the spectrum of about 40 specific frequency samples. Because I need to do this many many times, I need to get this as fast as possible. Any way? I tried to manually calculate the spectrum for those 40 samples, but fft is still faster. Thanks
0 Commenti
Risposte (1)
Darshan Ramakant Bhat
il 19 Apr 2017
MATLAB uses built-in multi threading for the fft command. So it will over-perform any user defined code for calculating fft points,even if one calculate for smaller number of points. You can also make your custom fft code faster by using parallel computing tool box. Following doc explains about it
Regards,
Darshan Bhat
0 Commenti
Vedere anche
Categorie
Scopri di più su Fourier Analysis and Filtering in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!