Question on Discrete Cosine Transform FFT

조회 수: 1 (최근 30일)
Matlab Student
Matlab Student 2018년 10월 20일
댓글: Matlab Student 2018년 10월 20일
Hello Team,
My Matlab code calculate a vector signal. When I plot the signal, it looks like the attached signal1.
After I apply fft, the signal becomes like signal2. It does look correct. Am I right?
Thanks
  댓글 수: 7
Bruno Luong
Bruno Luong 2018년 10월 20일
It seems the graph is
abs(fft(data))
because fft returns complex data when when you plot it without ABS, you get the points in complex plane, and not amplitude vs frequency.
Take a look at the documents of functions PLOT, FFT, FFTSHIFT
Matlab Student
Matlab Student 2018년 10월 20일
Thank you Bruno, that was really helpful. Also thanks for the documents you have advised.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

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