フィルターのクリア

How to assign only first member in matrix

1 回表示 (過去 30 日間)
Rohan  Mehta
Rohan Mehta 2019 年 6 月 24 日
コメント済み: Rohan Mehta 2019 年 6 月 24 日
I am using q(t) = find(A == max1(t));
But problem here is in max1(4) has value of 134 and in A 134 is repeated two times I want only first location of 134 how to do that ?

採用された回答

madhan ravi
madhan ravi 2019 年 6 月 24 日
編集済み: madhan ravi 2019 年 6 月 24 日
q(t) = find(A == max1(t),1,'first')
  3 件のコメント
madhan ravi
madhan ravi 2019 年 6 月 24 日
see edited answer
Rohan  Mehta
Rohan Mehta 2019 年 6 月 24 日
done,
Thank you so much

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeMatrices and Arrays についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by