Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

helppp on finding maximum

조회 수: 3 (최근 30일)
Leah
Leah 2012년 7월 10일
마감: MATLAB Answer Bot 2021년 8월 20일
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

답변 (1개)

Wayne King
Wayne King 2012년 7월 10일
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
Leah
Leah 2012년 7월 10일
how do i use findpeaks() if i only have the plotted graphs?

이 질문은 마감되었습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by