How to eliminate a column from a matrix?
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
S Priya
el 3 de Sept. de 2021
Comentada: S Priya
el 3 de Sept. de 2021
C =
C=[ 0.2474 -0.0311 0
0 0 0.5000 ]
I want to eliminate the last column. How to do it?
0 comentarios
Respuesta aceptada
Chunru
el 3 de Sept. de 2021
C=[ 0.2474 -0.0311 0
0 0 0.5000 ];
C(:, end) = []; % remove last column
C
2 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Get Started with MATLAB 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!