How can I get the 2 highest peaks ?
Mostra commenti meno recenti
1)How can I get the 2 peaks from the picture below? Because these commands gives me the only the highest.
[gpeakG1,fpeakG1] = getPeakGain(G1);
gpeakG1_dB = 20*log10(gpeakG1);

Risposta accettata
Più risposte (1)
Image Analyst
il 22 Mar 2016
0 voti
For #2, did you take a look at findpeaks()? (Requires the Signal Processing Toolbox.)
Categorie
Scopri di più su Get Started with Signal Processing Toolbox in Centro assistenza e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!