필터 지우기
필터 지우기

Calculate only fraction of spectrum with FFT

조회 수: 3 (최근 30일)
T
T 2017년 4월 11일
답변: Darshan Ramakant Bhat 2017년 4월 19일
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

답변 (1개)

Darshan Ramakant Bhat
Darshan Ramakant Bhat 2017년 4월 19일
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

카테고리

Help CenterFile Exchange에서 Fourier Analysis and Filtering에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by