How do I call the dsp toolbox "peak finder" from code?
Mostrar comentarios más antiguos
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 comentarios
Romano Geerling
el 15 de Nov. de 2016
You can:
https://nl.mathworks.com/help/signal/ref/findpeaks.html
Tianqi Xu
el 15 de Nov. de 2016
Tianqi Xu
el 15 de Nov. de 2016
Respuestas (1)
Puneet Rana
el 23 de Feb. de 2017
0 votos
Hi Tianqi,
Categorías
Más información sobre Spectral Analysis en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!