Azzera filtri
Azzera filtri

Convolution of Fourier Series Coefficients

1 visualizzazione (ultimi 30 giorni)
ha9981
ha9981 il 8 Nov 2012
So I have generated the fourier series coefficients for x(t) and y(t). I know that if z(t) = x(t)y(t) then in the frequency domain the coefficients of x(T0 and y(t) would be convolved.
if x(t) -> ak and y(t) -> bk
then z(t) -> conv(ak,bk)
Right?
I used my own function to calculate ak and bk which all came out to be accurate. Then I used the function to calculate ck for z(t). Now when I convolved ak and bk in matlab it doesn't give me the result ck. WHY?
my function is coeffs which calculates N number of coefficients.
ak = coeffs(x,t,w0,N)
bk = coeffs(y,t,w0,N)
ck = coeffs(z,t,w0,N)
ckcalc = conv(ak,bk)
figure;
subplot(2,1,1)
stem(abs(ck))
subplot(2,1,2)
stem(abs(ckcalc))
Why don't the plots match?

Risposte (1)

NN
NN il 8 Nov 2012
As far as I know the convolution theorem is only valid if you convolute the full time series with each other, else wise you will always run into trouble. And I would guess that ak, and yk did not cover the full spectral domain.

Categorie

Scopri di più su Fourier Analysis and Filtering in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by