could you help me to find hills on x-axis ??
조회 수: 1 (최근 30일)
이전 댓글 표시
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
댓글 수: 0
채택된 답변
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');
추가 답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!