Filter löschen
Filter löschen

How to find Peaks and Troughs in a series of data

1 Ansicht (letzte 30 Tage)
Borhan
Borhan am 11 Nov. 2013
Kommentiert: Image Analyst am 12 Nov. 2013
Hey guys, I have to prepare a code to find the peaks and Troughs of a series of data. The data, itself, has small noise which results in local maximums in trough areas......and vice versa.....What I have to do in the first step is to develop 2 vectors in which Peaks and Troughs are put respectively. meanwhile, I have to eliminate these noise. I would appreciate if any guy help me in this respect. Thanks in advance, Sincerely,

Antworten (1)

Image Analyst
Image Analyst am 11 Nov. 2013
If you have the Image Processing Toolbox, use imregionmin() and imregionalmax(). If you have the Signal Processing Toolbox, use findpeaks().
  2 Kommentare
Borhan
Borhan am 11 Nov. 2013
Thank you for your answer, but I have to write a code for this and I have no idea about it. Thanks again
Image Analyst
Image Analyst am 12 Nov. 2013
Did you look at the examples in the help for those functions and start out by trying them? Is your signal 1D or 2D?

Melden Sie sich an, um zu kommentieren.

Community Treasure Hunt

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

Start Hunting!

Translated by