Divide and plot signal parts
Show older comments

Hello all,
I have a plot and I want to extract each of the marked parts of the curve, how to do it?
I tried findpeaks() but it detects the maxima part and I cannot get exactly that part of the curve.
thanks
2 Comments
dpb
on 21 Aug 2022
Use findpeaks on the negative of the signal -- to find negative excursions, turn them into the peaks instead.
Mathieu NOE
on 22 Aug 2022
islocalmin can be also used for that purpose
Accepted Answer
More Answers (0)
Categories
Find more on Descriptive Statistics in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!