Effacer les filtres
Effacer les filtres

Fourier Series Coefficients

3 vues (au cours des 30 derniers jours)
Melissa
Melissa le 19 Août 2011
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

Réponse acceptée

Chaowei Chen
Chaowei Chen le 21 Août 2011
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 commentaires
Melissa
Melissa le 22 Août 2011
thank you for responding. will this improve the accuracy of my results?
Walter Roberson
Walter Roberson le 22 Août 2011
Improve the accuracy of your results? No, probably not, but it does answer your question about how to do it without using fft().

Connectez-vous pour commenter.

Plus de réponses (1)

Vivek Bhadouria
Vivek Bhadouria le 22 Août 2011
Nice Approach

Catégories

En savoir plus sur Fourier Analysis and Filtering dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by