Info
La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.
Creating a Matrix by Manipulation
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Hi, How do you create a matrix that is identical to another matrix except for one entry? For example, if there is a matrix A=[1 2 ; 3 4], how do you create a matrix B=[1 10 ; 3 4]?
Thank you.
0 comentarios
Respuestas (1)
Joseph Cheng
el 6 de Oct. de 2015
you would index the item like
A(1,2) = 10; %A(1,2) says row 1 column 2 of A should = 10
0 comentarios
La pregunta está cerrada.
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!