why definition of sine transform is not consistent with FFT?

1 次查看(过去 30 天)
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 个评论
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 CenterFile Exchange 中查找有关 Fourier Analysis and Filtering 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by