Local Maximums of a plot

1 Ansicht (letzte 30 Tage)
Billy Dipre
Billy Dipre am 15 Okt. 2020
Beantwortet: Star Strider am 15 Okt. 2020
I have two arrays that I plotted, one as the x and the other as the y. Now these arrays are not a function of each other but I need to find 4 peaks on the plot. I can see the peaks so I could easily come up with the four intervals, I just dont know how to write this out. Any help?
  3 Kommentare
Billy Dipre
Billy Dipre am 15 Okt. 2020
Billy Dipre
Billy Dipre am 15 Okt. 2020
Sorry about that. But I just want to find those 4 peaks for the deuterium plot and the hydrogen plot.

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Star Strider
Star Strider am 15 Okt. 2020
The islocalmax function could be helpful here. The Signal Processing Toolbox has findpeaks.

Community Treasure Hunt

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

Start Hunting!

Translated by