See other catalogues for
The MathWorks
You may also be interested in
Text version of the page
| | | | | | | | |
| | | |
| | | Fast Fourier Transform (FFT) | | |
| | | |
| | | a0 = d(1)/m; an = 2*real(d(2:M))/m; a6 = d(M+1)/m; bn = -2*imag(d(2:M))/m; Plot the interpolant with the data: hold on x = 0:0.01:360; n = 1:length(an); y = a0 + an*cos(2*pi*n'*x/360) ... + bn*sin(2*pi*n'*x/360) ... + a6*cos(2*pi*6*x/360); plot(x,y,'Linewidth',2) legend('Data','DFT Interpolant','Location','NW') | | |
| | | |
| | | 7-21 | | |
| | | |
| | | | | | | | |