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

1 vue (au cours des 30 derniers jours)
Giannakis Stoukas
Giannakis Stoukas le 23 Mar 2015
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?

Réponse acceptée

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

Plus de réponses (0)

Catégories

En savoir plus sur Matrices and Arrays dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by