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 Center および File ExchangeDescriptive Statistics についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by