フィルターのクリア

Point at which max occurs

1 回表示 (過去 30 日間)
aswathy
aswathy 2012 年 11 月 20 日
コメント済み: James Cassata 2018 年 1 月 11 日
how to find out the index at which max occurs in a series of data in matlab??
these are my data [1 5 6 7 8 9 10 12 2 7 8 11 5]

採用された回答

Matt Fig
Matt Fig 2012 年 11 月 20 日
編集済み: Matt Fig 2012 年 11 月 20 日
It is always a good idea to read the doc for any such question:
doc max
docsearch('maximum value')
The two output call to the MAX function gives you what you need.
[maxval,index] = max([1 5 6 7 8 9 10 12 2 7 8 11 5])
  1 件のコメント
James Cassata
James Cassata 2018 年 1 月 11 日
0 help

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeLogical についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by