How do you return the value of one vector at specified value of another vector
1 回表示 (過去 30 日間)
古いコメントを表示
採用された回答
Matt J
2017 年 1 月 26 日
編集済み: Matt J
2017 年 1 月 26 日
It's not entirely clear what you mean. Possibly, you want this
A(B==805)
or you could mean,
A(B)
その他の回答 (1 件)
John D'Errico
2017 年 1 月 26 日
Why have you not tried the obvious? What does
A(B)
provide?
It appears that you need to spend time reading the getting started tutorials for MATLAB if you do not understand how to use an index.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Logical についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!