How to extract a value from a Row or Column vector?
51 ビュー (過去 30 日間)
古いコメントを表示
Im trying to take the 5th value of a randomly generated row or column vector. How would I write the code for that?
2 件のコメント
採用された回答
Fangjun Jiang
2020 年 6 月 23 日
Is this what you are looking for ?
MyVector=rand(100,1);
MyData=MyVector(5);
2 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Get Started with MATLAB についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!