필터 지우기
필터 지우기

How to find Peaks and Troughs in a series of data

조회 수: 1 (최근 30일)
Borhan
Borhan 2013년 11월 11일
댓글: Image Analyst 2013년 11월 12일
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,

답변 (1개)

Image Analyst
Image Analyst 2013년 11월 11일
If you have the Image Processing Toolbox, use imregionmin() and imregionalmax(). If you have the Signal Processing Toolbox, use findpeaks().
  댓글 수: 2
Borhan
Borhan 2013년 11월 11일
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 2013년 11월 12일
Did you look at the examples in the help for those functions and start out by trying them? Is your signal 1D or 2D?

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Descriptive Statistics에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by