How do I call the dsp toolbox "peak finder" from code?
Ältere Kommentare anzeigen
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 Kommentare
Romano Geerling
am 15 Nov. 2016
You can:
https://nl.mathworks.com/help/signal/ref/findpeaks.html
Tianqi Xu
am 15 Nov. 2016
Tianqi Xu
am 15 Nov. 2016
Antworten (1)
Puneet Rana
am 23 Feb. 2017
0 Stimmen
Hi Tianqi,
Kategorien
Mehr zu Spectral Analysis finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!