Filter löschen
Filter löschen

how to find all points after falling edge

4 Ansichten (letzte 30 Tage)
Sue MM
Sue MM am 7 Mai 2019
Kommentiert: dpb am 7 Mai 2019
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 Kommentare
Sue MM
Sue MM am 7 Mai 2019
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.
dpb
dpb am 7 Mai 2019
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)...

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by