Clear Filters
Clear Filters

Ho to find peaks at step graphs?

2 views (last 30 days)
Zach Morag
Zach Morag on 9 Dec 2021
Answered: Chunru on 9 Dec 2021
Hi all,
how can i find peaks/first index of each step at the step graph?
I tried to use "find local maxima" function but i always get vector of zeros
the graphs represnts cumulative volume that deleiverd by step motor and I want to find the volume of each step
example of it is detailed below:
Thx,
Zach

Answers (1)

Chunru
Chunru on 9 Dec 2021
Try to "detrend" the data first; then apply "findpeaks".

Products


Release

R2021a

Community Treasure Hunt

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

Start Hunting!