could you help me to find hills on x-axis ??

조회 수: 1 (최근 30일)
Anas A.Salam
Anas A.Salam 2013년 4월 28일
hello i have a question about figure below
as we see in the figure there is 7 hills in the center of figure so question is ho could i find x-axis value to each hill ?? thanks

채택된 답변

Image Analyst
Image Analyst 2013년 4월 28일
Do you have the Signal Processing Toolbox? If so, you can use findpeaks().
thePeaks = findpeaks(yourData, 'Threshold', 10);
Do you have the Image Processing Toolbox? If so you can threshold at 35, then use regionprops to find the centroid of the peaks.
thePeaks = regionprops(yourData>35, 'Centroid');
  댓글 수: 2
Anas A.Salam
Anas A.Salam 2013년 4월 28일
thank you so much i will try to use them and give you the results :)
Anas A.Salam
Anas A.Salam 2013년 4월 29일
thank you again i found the result as i want ... thanks

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

추가 답변 (0개)

카테고리

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