the value of the row and columns
1 回表示 (過去 30 日間)
古いコメントを表示
if i have matrix
x = [ 2,5,7,9,0,3,5,
0,5,11,9,20,3,5 ]
how can i get the value of column 5 row 2 i know it is 20 but i mean what function to use in MATLAB
0 件のコメント
採用された回答
Jon
2022 年 5 月 4 日
編集済み: Jon
2022 年 5 月 4 日
val = x(2,5)
1 件のコメント
Jon
2022 年 5 月 4 日
Glad this helped. If you want to get a quick immersion in MATLAB and you haven't already completed it I would recommend the free, 2 hour MATLAB Onramp training. It will get you up and running with MATLAB indexing (as in the question you asked), plotting, and much more. https://www.mathworks.com/learn/tutorials/matlab-onramp.html
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Matrix Indexing についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!