Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

helppp on finding maximum

1 Ansicht (letzte 30 Tage)
Leah
Leah am 10 Jul. 2012
Geschlossen: MATLAB Answer Bot am 20 Aug. 2021
If there are two peaks and you want to find the second peak's highest point how do you find that? how do you set limitations between the highest peaks? and after finding that peak how do you find the x position of it? by writing a code. i need to be able to do it without having the user use any tools for the graph

Antworten (1)

Wayne King
Wayne King am 10 Jul. 2012
Hi Leah, if you have the Signal Processing Toolbox, have you tried findpeaks()?
You can set options like the minimum distance between peaks, and minimum height.
The optional output argument LOCS gives you the "x" position of the peaks.
  1 Kommentar
Leah
Leah am 10 Jul. 2012
how do i use findpeaks() if i only have the plotted graphs?

Diese Frage ist geschlossen.

Community Treasure Hunt

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

Start Hunting!

Translated by