Help with Fourier analysis of wav signal
4 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Brendan Zotto
le 16 Sep 2016
Commenté : Star Strider
le 16 Sep 2016
Hey I am trying to understand this fft waveform i have with a .wav file I recorded of myself. I feel as though the fft is not right, or I am misunderstanding what is being shown. I posted the fft and it shows the signal having a frequency components magnitude increasing at frequencies much higher than my voice. I think the frequency range should be in the range of 250-350Hz. Can anyone explain what I am not understanding? I also added the time domain representation of the wave.
Here is my code.
Mono = (y(:,1)+y(:,2))/2;
y = Mono;
time=(1:length(y))/Fs;
F = 1./time;
nfft = fft(y);
plot(F,nfft)
0 commentaires
Réponse acceptée
Star Strider
le 16 Sep 2016
For the correct way to code and interpret the Fourier transform of your signal, see the R2015a documentation for the fft (link) function. Particularly note the code between the first (top) two plot figures.
4 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Discrete Fourier and Cosine Transforms dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!