MATLAB: I want to enter a matrix into a zero matrix except one row

matrixmatrix into matrix

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?

Best Answer

B = A([1:5,7:11],:);