why definition of sine transform is not consistent with FFT?

1 回表示 (過去 30 日間)
Yuji Zhang
Yuji Zhang 2013 年 8 月 21 日
See the picture.
Let's suppose: G(f) = DST(g(t)) and G(f) = FFT(g(t))
There are inconsistency in 2 things:
1. sine transform uses sin(pi*f*t) while fft uses exp(i*2*pi*f*t) --- *2 is the difference
The sine transform I learn from books uses sin(2*pi*f*t)
The definition of sine transform in Matlab actually gives a result of G(f/2)
2. fft starts with (j-1) and (k-1) in the exponential while sine transform starts with n and k ---- missed 0 frequency term
Anybody know why it's defined like this? Any ideas are appreciated. Thanks~
  2 件のコメント
Yuji Zhang
Yuji Zhang 2013 年 8 月 29 日
anybody? any thoughts are appreciated. Thanks~~
Amith Kamath
Amith Kamath 2013 年 8 月 29 日
If you look at the source for dst,
edit dst
you can see that it uses the real part of the FFT computation. Can you share some examples of why you think the documentation is inaccurate? This may be useful for someone to verify that it is indeed incorrect.

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

回答 (0 件)

カテゴリ

Help Center および File ExchangeFourier Analysis and Filtering についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by