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

10 views (last 30 days)
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

Accepted Answer

Star Strider
Star Strider on 10 Feb 2020
I would first use findchangepts (R2016a and later) to segment the signal, then use findpeaks on each segment.
  55 Comments
Star Strider
Star Strider on 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.

Sign in to comment.

More Answers (1)

steamrice
steamrice on 10 Feb 2020
Edited: steamrice on 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)

Categories

Find more on Measurements and Feature Extraction in Help Center and File Exchange

Tags

Products

Community Treasure Hunt

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

Start Hunting!