How do I call the dsp toolbox "peak finder" from code?
Afficher commentaires plus anciens
Hi all,
In dsp toolbox, I created a "SpectrumAnalyzer" system object to monitor the frequency spectrum of my microphone input in real-time. Although I can detect the peak frequencies by "tool menu -> peak finder", I want to use a code to return the peak frequencies directly in the script or command window for further process. Is it possible to do that?
Many thanks, T

3 commentaires
Romano Geerling
le 15 Nov 2016
You can:
https://nl.mathworks.com/help/signal/ref/findpeaks.html
Tianqi Xu
le 15 Nov 2016
Tianqi Xu
le 15 Nov 2016
Réponses (1)
Puneet Rana
le 23 Fév 2017
0 votes
Hi Tianqi,
Catégories
En savoir plus sur Spectral Analysis dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!