maxima_fourier-transform-periodic-sawtooth
Fourier transform:
integrate(h(x)*exp(-%i*2*%pi*(y*x)),x,-inf,inf);
sawtooth waveform:
h(x):=-2*(sum((-1)^n*sin(%pi*n*x)/n,n,1,10))/%pi;
Example:
h(x):=-2*(sum((-1)^n*sin(%pi*n*x)/n,n,1,10))/%pi; integrate(h(x)*exp(-(x^2)*0.1)*exp(-%i*2*%pi*(y*x)),x,-inf,inf); cabs(%); plot2d(%, [y,-10,10]);