How to extract a value from a Row or Column vector?
16 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Im trying to take the 5th value of a randomly generated row or column vector. How would I write the code for that?
2 commentaires
Réponse acceptée
Fangjun Jiang
le 23 Juin 2020
Is this what you are looking for ?
MyVector=rand(100,1);
MyData=MyVector(5);
2 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Get Started with MATLAB dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!