Fourier transform for a sequence of values
5 ビュー (過去 30 日間)
古いコメントを表示
There is a signal x(n) = [5 3 -4 2 8]. How to find the Fourier Transform of the signal x(n).
0 件のコメント
回答 (1 件)
the cyclist
2020 年 12 月 20 日
fft(x)
3 件のコメント
the cyclist
2020 年 12 月 20 日
That is a very straightforward formula to code into MATLAB. For example, the exponential bit could be written
exp(-i .* 2*pi * k .* n ./ N)
It is usually pretty straightforward to translate simple math formulas into MATLAB.
But this is not the best place to learn all the MATLAB you need to know in order to write this code. I recommend watching the MATLAB Onramp video.
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!