select the first row in the matrix
Afficher commentaires plus anciens
I have a matrix named A and I want to get a new matrix B by pulling the first row of it.
Sample:
A:
[1,2,3;...
4,5,8;...
3.9.5];
B-matrix:
[1,2,3]
How can I do that?
Réponses (1)
Catégories
En savoir plus sur Creating and Concatenating Matrices dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!