Fourier Series Coefficients

조회 수: 10 (최근 30일)
Melissa
Melissa 2011년 8월 19일
Good Afternoon All,
I want to calculate the fourier series coefficients of a discrete set of data (ao ak and bk). The problem is that I do not have enough data points to use the fft as I originally planned. Does anyone have any idea on how to calculate the coefficients without using the fft?
Thanks
Mel

채택된 답변

Chaowei Chen
Chaowei Chen 2011년 8월 21일
fft does not require a specific number of samples to work. Equivalently, it works because fft pads zeros to your sample.
If you don't want to use fft, use the definition of Fourier transform to get the coefficients. For example, a0 = mean(data), ak=mean(data*sin(2*pi/n*k)), etc.
  댓글 수: 2
Melissa
Melissa 2011년 8월 22일
thank you for responding. will this improve the accuracy of my results?
Walter Roberson
Walter Roberson 2011년 8월 22일
Improve the accuracy of your results? No, probably not, but it does answer your question about how to do it without using fft().

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

Vivek Bhadouria
Vivek Bhadouria 2011년 8월 22일
Nice Approach

카테고리

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