How to extract a value from a Row or Column vector?
49 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Im trying to take the 5th value of a randomly generated row or column vector. How would I write the code for that?
2 Commenti
Risposta accettata
Fangjun Jiang
il 23 Giu 2020
Is this what you are looking for ?
MyVector=rand(100,1);
MyData=MyVector(5);
2 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Get Started with MATLAB in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!