how to write a code that will calculate the Fourier Transform of a signal

3 ビュー (過去 30 日間)
Samantha Ryan-Wheeler
Samantha Ryan-Wheeler 2021 年 4 月 13 日
回答済み: Abhishek Gupta 2021 年 4 月 16 日
I need help writting a code that can open and read a given file, that can calculate the fourier transform of a signal. The code also needs to be able to plot that FT and put only the positive values of the frequency. Any idea of how I could start this?
  1 件のコメント
Jan
Jan 2021 年 4 月 13 日
Start with "open and read a file". It depends on the file format, how this must be done. So please explain, what kind of file you mean.
For the Fourier transformation simply call fft().

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

回答 (1 件)

Abhishek Gupta
Abhishek Gupta 2021 年 4 月 16 日
Hi,
Referring to the following documentation link, which might help you in achieving the task: -

カテゴリ

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