フィルターのクリア

How can i link same index of two vectors vectors?

1 回表示 (過去 30 日間)
AlexDp
AlexDp 2019 年 9 月 11 日
コメント済み: AlexDp 2019 年 9 月 11 日
Hi all,
i have these data:
A= [a; b; c]; %a, b c are row vectors 1x365
V=var(A');
M= mean(A');
G=max(V)
I'd like to know how can i obtain the value of "M" corresponding of index max(V). The idea is: M(index of max(V))=value.
I hope someone can help me. Thanks!

採用された回答

madhan ravi
madhan ravi 2019 年 9 月 11 日
[~,index]=max(V);
Value = M(index)
  1 件のコメント
AlexDp
AlexDp 2019 年 9 月 11 日
Great! Thank you veryyy much!

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeResizing and Reshaping Matrices についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by