can someone explain to me what this code means??
7 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
John Bitzios
le 23 Juin 2014
Réponse apportée : John Bitzios
le 14 Juil 2014
Its actually a guitar tuner made by Ryann Kinnett. I tried to interact with him but unfortunately his e-mail is out. Anyway, I think I know what the program does at certain lines but mostly what I am struggling to figure out is the FFT section...
here is the links to the program http://www.mathworks.com/matlabcentral/fileexchange/26367-guitar-tuner/content/GuitarTuner.m
go to "download submisson" at the upper right if you want to run it on matlab
Cheers!!
2 commentaires
Jan
le 23 Juin 2014
What exactly is your question? I suggest to post the corresponding line, explain, what you have understood so far and ask a specific question.
Réponse acceptée
dpb
le 23 Juin 2014
2/L*abs(Y(1:NFFT/2+1)))
gives a one-sided (DC to Nyquist) amplitude spectrum. The above is the two-sided version from [-Nyquist:Nyquist] with DC in the middle.
0 commentaires
Plus de réponses (1)
Voir également
Catégories
En savoir plus sur 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!