Specific column range from an array?
147 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
This is probably very dumb question but I cant seem to find an answer for it. I have an array with two columns, how to I extract let`s say the second column, from the 5th row until the 10th?
0 Commenti
Risposta accettata
Alexandra Harkai
il 5 Apr 2017
y = x(5:10, 2) % rows 5:10, column 2
1 Commento
Nom
il 7 Ott 2019
Thank you so much for actually linking it in the documentation, found exactly what I needed!
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Matrix Indexing 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!