Borrar filtros
Borrar filtros

How to change two columns of a matrix?

1 visualización (últimos 30 días)
Lei
Lei el 4 de Mayo de 2012
Hello,everyone If i have a matrix A with dimension of 200*14. How can I switch column 2 with column 13? Thanks.

Respuesta aceptada

Lei
Lei el 4 de Mayo de 2012
A(:,[i,j])=A(:,[j,i]);?

Más respuestas (0)

Categorías

Más información sobre Numeric Types en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by