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

1 回表示 (過去 30 日間)
Rahul punk
Rahul punk 2019 年 4 月 2 日
コメント済み: Rahul punk 2019 年 4 月 15 日
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
  3 件のコメント
KSSV
KSSV 2019 年 4 月 15 日
Solved or not?
Rahul punk
Rahul punk 2019 年 4 月 15 日
not

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeMultirate Signal Processing についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by