フィルターのクリア

Info

この質問は閉じられています。 編集または回答するには再度開いてください。

helppp on finding maximum

2 ビュー (過去 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