Calculate only fraction of spectrum with FFT
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentare
Antworten (1)
Darshan Ramakant Bhat
am 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 Kommentare
Siehe auch
Kategorien
Mehr zu Fourier Analysis and Filtering finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!