i want to enter a matrix into a zero matrix except one row

1 Ansicht (letzte 30 Tage)
I have one matrix A(11,14) and i want to enter it inside the zero matrix B(10,14) except the row 6.How i will do that?

Akzeptierte Antwort

per isakson
per isakson am 23 Mär. 2015
B = A([1:5,7:11],:);

Weitere Antworten (0)

Kategorien

Mehr zu Resizing and Reshaping 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!

Translated by