Fourier Series - Research in Scientific Computing in Undergraduate Education

Fourier Series - Research in Scientific Computing in Undergraduate Education

瀏覽:321
日期:2024-05-28
fk(j) = quad(C,-1,1,); end plot(k, fk); This first code is used to calculate the coefficients to be used later. function F = reconstruction(y,fk,k) for x = 1:length(y) F(x) = 0; for j= 1:length(k) F(x) = F(x) + fk(j)*exp(1i*k(j)*y(x)*pi); end end end This s...看更多