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

조회 수: 6 (최근 30일)
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 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일
Referring to the following documentation link, which might help you in achieving the task: -


Help CenterFile Exchange에서 Discrete Fourier and Cosine Transforms에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by