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

1 次查看(过去 30 天)
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?

采纳的回答

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

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Resizing and Reshaping Matrices 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by