How to extract a value from a Row or Column vector?
49 次查看(过去 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 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!