How to get the vector in a matrix (specific location)
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
fyza affandi
am 17 Nov. 2018
Kommentiert: madhan ravi
am 17 Nov. 2018
I have matrix A (8x4)
A= [ 1 0 0 0 0 0 0 0
2 0 0 0 0 0 0 0
3 0 0 0 0 0 0 0
4 5 6 7 8 9 10 11]
How can I get vector of B that start from row 4, column 2 till end?
B= [ 5 6 7 8 9 10 11]
0 Kommentare
Akzeptierte Antwort
madhan ravi
am 17 Nov. 2018
Bearbeitet: madhan ravi
am 17 Nov. 2018
A= [ 1 0 0 0 0 0 0 0
2 0 0 0 0 0 0 0
3 0 0 0 0 0 0 0
4 5 6 7 8 9 10 11]
B = A(4,2:size(A,2))
4 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Creating and Concatenating Matrices finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!