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!