Say I have a matrix A=[1 2 3; 4 5 6; 7 8 9] and i want to define matrix B as Matrix A without the middle row, but I must be able to define Matrix C as Matrix A with out the bottom row? how would I do this?
Ältere Kommentare anzeigen
Say I have a matrix A=[1 2 3; 4 5 6; 7 8 9] and i want to define matrix B as Matrix A without the middle row, but I must be able to define Matrix C as Matrix A with out the bottom row? how would I do this?
Akzeptierte Antwort
Weitere Antworten (1)
Rabab
am 28 Mär. 2024
0 Stimmen
For a matrix M=[1 2 3;4 5 6 ;7 8 9] the result of M (end,:) should be In matlab
Kategorien
Mehr zu Matrix Indexing finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!