What is the Fourier Function of Matlab doing?

1 回表示 (過去 30 日間)
Niklas Kurz
Niklas Kurz 2021 年 1 月 15 日
コメント済み: Walter Roberson 2021 年 1 月 16 日
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 .
  2 件のコメント
Niklas Kurz
Niklas Kurz 2021 年 1 月 16 日
Well, this isn't really helping me. I thought the Fourier-Transform depicts all koefficients of the trigonometric series in order that I can plot the combination.
Walter Roberson
Walter Roberson 2021 年 1 月 16 日
No, that is not correct. The fourier transform is an infinite integral https://en.wikipedia.org/wiki/Fourier_transform#Definition
The Fourier Transform is the infinite case of the Fourier Series https://en.wikipedia.org/wiki/Fourier_Series#Definition
With the fourier transform being an infinite integral, there are some cases where the value of the entire integral is known; this happens to be one of them.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeCalculus についてさらに検索

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by