hello everyone(adsbygoogle = window.adsbygoogle || []).push({});

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???

**Physics Forums - The Fusion of Science and Community**

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Problems with Fourier

Can you offer guidance or do you also need help?

Draft saved
Draft deleted

Loading...

Similar Threads - Problems Fourier | Date |
---|---|

Does anyone had this plotting problem with MATLAB? | Dec 23, 2017 |

Mathematica Solve Perturbation problem with mathematica | Dec 7, 2017 |

Mathematica For looping problem not getting answer | May 24, 2017 |

Matlab map representation problems | Feb 11, 2017 |

HARD problem on mathematical problem and fourier series | Nov 12, 2007 |

**Physics Forums - The Fusion of Science and Community**