Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Problems with Fourier

  1. Nov 30, 2009 #1
    hello everyone
    I need help with this
    when I introduce this commands I didn't get the right answer, and I don't know why, somebody can help me.
    For example

    clear all
    r = 'sin(5*t)';
    syms t w;
    f = eval(r)
    fourier(f)
    F = fourier(f);
    ifourier(F,'t')

    and the result is:

    f =

    sin(5*t)

    %fourier transform which is wrong
    ans =

    -pi*i*(dirac(w - 5) - dirac(w + 5))

    %and the inverse fourier transform which is wrong too
    ans =

    i/(2*exp(5*i*t)) - (i*exp(5*i*t))/2

    where is the problem???, Why is wrong???
     
  2. jcsd
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Can you offer guidance or do you also need help?
Draft saved Draft deleted



Similar Discussions: Problems with Fourier
Loading...