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

1 Ansicht (letzte 30 Tage)
Anas A.Salam
Anas A.Salam am 28 Apr. 2013
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

Akzeptierte Antwort

Image Analyst
Image Analyst am 28 Apr. 2013
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 Kommentare
Anas A.Salam
Anas A.Salam am 28 Apr. 2013
thank you so much i will try to use them and give you the results :)
Anas A.Salam
Anas A.Salam am 29 Apr. 2013
thank you again i found the result as i want ... thanks

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by