how to find all points after falling edge

Hi,
I have a signal that I am trying to analyze. I want to find all the points after the falling edge and average those points to find the 'average minimum' of that signal. I tried using findpeaks and the find command but not much success there. Any help would be much appreciated, thank you!

3 Comments

No chance unless you give us representative data to work with and explain what defines "all points after falling edge"
Hi, I attached the file below. Column 1 is time, volumn 2 is voltage. When plotted, the voltage is almost like a square wave. I want to find the average of all minimum points thats what I mean by points after the falling edge. Finding the minimum would might not be right in this scenario as there could be some outliers.
I'd suggest starting with the documentation for findpeaks example looking at a clipped signal that roughly matches what a square wave/your signal does and see if something as simple as that will give you levels against which to set threshold values.
Remember, of course, that a minimum is just the negative of a peak (and vice versa)...

Sign in to comment.

Answers (0)

Asked:

on 7 May 2019

Commented:

dpb
on 7 May 2019

Community Treasure Hunt

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

Start Hunting!