modify parted matrix element
Información
La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.
Mostrar comentarios más antiguos
Hi i have part of specific matrix was made partition , then how we can modify all of element of this part by add or multiply or any mathematical operation??
1 comentario
Andrew Newell
el 15 de Feb. de 2012
Could you elaborate?
Respuestas (1)
bym
el 16 de Feb. de 2012
x =magic(4)
x =
16 2 3 13
5 11 10 8
9 7 6 12
4 14 15 1
x(1:2,1:2)=x(1:2,1:2)-x(1:2,1:2)
x =
0 0 3 13
0 0 10 8
9 7 6 12
4 14 15 1
La pregunta está cerrada.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!