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

1 visualizzazione (ultimi 30 giorni)
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?

Risposta accettata

per isakson
per isakson il 23 Mar 2015
B = A([1:5,7:11],:);

Più risposte (0)

Categorie

Scopri di più su Resizing and Reshaping Matrices 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!

Translated by