How to use findpeaks to find the maximum for a stimulus that contains multiple events?

6 visualizzazioni (ultimi 30 giorni)
Hi, I am wondering if I have a signal that contains mulitple events. Is it possbile to locate the the max peak for each event (see the attached picture) by uaing findpeaks? Thanks in advance

Risposta accettata

Star Strider
Star Strider il 10 Feb 2020
I would first use findchangepts (R2016a and later) to segment the signal, then use findpeaks on each segment.
  55 Commenti
Star Strider
Star Strider il 4 Mar 2020
I have not used that function or explored that example. The roots function returns the roots of a polynomial, so the argument must be a vector of polynomial coefficients.

Accedi per commentare.

Più risposte (1)

steamrice
steamrice il 10 Feb 2020
Modificato: steamrice il 10 Feb 2020
I attached my data sample if you have time to take a look? (The first two columns are voltage measuremnt whereas the third column is just a signal trigger)

Categorie

Scopri di più su AI for Signals in Help Center e File Exchange

Tag

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by