Borrar filtros
Borrar filtros

in entry matrix first two raw is exchange with another matrix which is 2*3 replace first two whole raw with that

1 visualización (últimos 30 días)
entry matrix
1.00 4.00 4.00
3.00 0 6.00
5.00 3.00 1.00
5.00 0 4.00
0 3.00 6.00
2.00 1.00 6.00
another matrix C
1 0 9
4 6 9
now first two row of entry matrix is remove with c entry matrix is now seen like this
1 0 9
4 6 9
5 3 1
5 0 4
0 3 6
2 1 6

Respuesta aceptada

KSSV
KSSV el 16 de Dic. de 2016
em = [1.00 4.00 4.00
3.00 0 6.00
5.00 3.00 1.00
5.00 0 4.00
0 3.00 6.00
2.00 1.00 6.00] ;
c = [1 0 9
4 6 9] ;
iwant = em ;
iwant(1:2,:) = c(1:2,:) ;

Más respuestas (0)

Categorías

Más información sobre Get Started with MATLAB en Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by