Filter löschen
Filter löschen

Get rid of peaks with small prominence

10 Ansichten (letzte 30 Tage)
Adam Levschuk
Adam Levschuk am 9 Mär. 2021
Beantwortet: Cris LaPierre am 9 Mär. 2021
Hello, i am looking to get rid of false positive in my data and want to delete all the peaks with a prominence that is less than a set threshold. i have all all the prominences of the peaks and my threshold is 10. How would i go about deletcing the locations of the peaks that are false positives?

Antworten (1)

Cris LaPierre
Cris LaPierre am 9 Mär. 2021
Look into findpeaks. There is a MinPeakProminence input setting you can use to ignore peaks below your defined threshold.
You can also use the Find Local Extrema task in a live script to do this interactively. Once you have determined the proper settings, you can convert the task to code.

Produkte


Version

R2020a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by