maxima_fourier-transform-pulse-cos
Fourier transform
integrate(h(x)*exp(-%i*2*%pi*(y*x)),x,-inf,inf);
cosine pulse
h(x):=unit_step(%pi/2+x)*cos(x)*(1-unit_step(x-%pi/2)); plot2d(h(x), [x,-%pi,%pi],[y, -1, 2]);
Example:
integrate(cos(x)*exp(-%i*2*%pi*(y*x)),x,(-%pi)/2,%pi/2); realpart(%); plot2d(%, [y,-%pi,%pi]);