Fourier Series Coefficients
10 ビュー (過去 30 日間)
古いコメントを表示
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
0 件のコメント
採用された回答
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 件のコメント
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 件)
参考
カテゴリ
Help Center および File Exchange で Fourier Analysis and Filtering についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!