Can we find the fourier transform of a function?

조회 수: 1 (최근 30일)
Seetha Rama Raju Sanapala
Seetha Rama Raju Sanapala 2015년 6월 8일
In symbolic tool box, there is a function called fourier which is supposed to give the FT of a function. Example below works
syms x y
f = exp(-x^2);
fourier(f, x, y)
But I find that this does not work. why?
syms x y
f = exp(-x^4);
fourier(f, x, y)
How do you represent a rectangular pulse function in MATLAB so that I can get the FT of it?
rect(t) = 1 if t is between -0.5 and 0.5 inclusive and zero outside.
  댓글 수: 2
Walter Roberson
Walter Roberson 2015년 6월 8일
What happens when it "does not work" ?
Seetha Rama Raju Sanapala
Seetha Rama Raju Sanapala 2015년 6월 8일
It just gives the answer as FT of the given function. Basically it just repeats your question as answer. I tried expand, simplify etc but to no avail.

댓글을 달려면 로그인하십시오.

답변 (1개)

Walter Roberson
Walter Roberson 2015년 6월 8일
Rectangular pulse that is 1 between A and B is
Heaviside(x-A) - Heaviside(x-B)

카테고리

Help CenterFile Exchange에서 Assumptions에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by