Question on Discrete Cosine Transform FFT
5 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
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 Commenti
Bruno Luong
il 20 Ott 2018
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
Risposte (0)
Vedere anche
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


