What is the Fourier Function of Matlab doing?

조회 수: 5 (최근 30일)
Niklas Kurz
Niklas Kurz 2021년 1월 15일
댓글: Paul 2025년 3월 30일
Hidden in the Matlab basic functions I discovered
fourier(f)
existst. This seems useful I thought, because It applies the fourier-transform to the function f by calculating the complex integral.
But how can I take use of that? I thought, by doing the transform, I can simply plot it:
syms x
FT = fourier(x^2)
fplot(FT)
isn't doing much. Is there a misunderstanding at the root?

채택된 답변

Walter Roberson
Walter Roberson 2021년 1월 15일
syms x w
FT(w) = fourier(x^2, x, w)
FT(w) = 
FT(-1), FT(0), FT(1)
ans = 
0
ans = 
ans = 
0
fplot(FT)
The empty plot is to be expected as the value is 0 everywhere exact at w = 0 exactly, where it is -infinity .
  댓글 수: 4
Guillermo Aldana
Guillermo Aldana 2025년 3월 30일
There are at least 3 defintions of the Fourier Transform - Physic, math and engineering use slighlty different versions, some even with a 180 phase shift in frequency - which definition does matlab use?
Paul
Paul 2025년 3월 30일
See the More About section of the fourier doc page for the default parameterization of the Fourier transform. See sympref for how to specify parameters that aren't the defaults.

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

추가 답변 (0개)

카테고리

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

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by