Effacer les filtres
Effacer les filtres

How the value being calculated for "widths" and "proms" in Peak Prominences?

3 vues (au cours des 30 derniers jours)
Matlaber
Matlaber le 9 Jan 2019
Modifié(e) : Matlaber le 14 Jan 2019
I am wondering how the value being calculated for "widths" and "proms" in Peak Prominences?
I am following "Peak Prominences".
Link: MathWorks
peak1.png
[pks,locs,widths,proms] = findpeaks(PeakSig,x);
widths
proms
widths
widths = 1×6
0.0154 0.0431 0.0377 0.0625 0.0274 0.0409
Why there is 6 value generated while only 2 peak (2 width) detected?
It same with proms:
proms
proms = 1×6
2.6816 5.5773 3.1448 4.4171 2.9191 3.6363

Réponses (0)

Catégories

En savoir plus sur MATLAB 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!

Translated by