how to find x value on this graph point name is find??

2 次查看(过去 30 天)
Screenshot (284).png
  2 个评论
Rahul punk
Rahul punk 2019-4-2
i already found all these values
y max
x max
y min
x min
but ,how to find y max previous and next plot point x value??
Rahul punk
Rahul punk 2019-4-15
please help me anyone if u know the answer how to find y max start and ending point in multiple peaks.....

请先登录,再进行评论。

回答(1 个)

KSSV
KSSV 2019-4-15
Read about min and max. It gives you indices of the respective v alue also.
[val,idx] = max(y) ;
iwant = [x(idx) val] ; % maximum point
iwant1 = [x(idx-1) y(idx-1)] ; % previous point of max
iwant2 = [x(idx+1) y(idx+1)] ; % next point of max

类别

Help CenterFile Exchange 中查找有关 Multirate Signal Processing 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by