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

2 views (last 30 days)
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?

Accepted Answer

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

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by