Matrix Question for 12*12 matrix
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Nikhil Kelaginmath
el 24 de Nov. de 2020
Comentada: Alan Stevens
el 24 de Nov. de 2020
I have a 12*12 matrix and i want to convert it into 9*9 matrix by eleminating first two colum and first two row and also the forth colum and row, which will leave me a 9*9 matrix. i want to remove 1,2 and 4 column and row from 12*12 matrix?
0 comentarios
Respuesta aceptada
Alan Stevens
el 24 de Nov. de 2020
Supposing M is the 12x12 matrix, then
M([1,2,4],:)=[];
M(:,[1,2,4])=[];
should remove the appropriate rows and columns.
2 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Matrices and Arrays en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!