Hi walter,
I have sending my function again:
function [fw]=myfourier(fx)
syms x w;
w=1;
fw=int(fx*exp(-i*w*x),x,-pi,pi);
in this function i got the answer '-pi*i'
but the answer of inbuit function is:
-pi*i(dirac(w - 1) - dirac(w + 1))
if possible help me.
i m not able to get the correct answer as given by library function. may be the problem of 'w'(omega) or aomthing problem of discontinuity of function.
i hope u now understand the problem.
