How to swap columns of matrix zeros(n,n)

1 visualización (últimos 30 días)
amina shafanejad
amina shafanejad el 6 de Mayo de 2015
Respondida: Walter Roberson el 6 de Mayo de 2015
Hello everyone
I'm working on one project which in need to swap all the rows of the matrix zeros(n,n) which i want to swap the first rows with last rows, second with second rows from last, third rows from third rows from last and so on can anybody help me with it thank you

Respuestas (1)

Walter Roberson
Walter Roberson el 6 de Mayo de 2015
flipud(YourMatrix)

Categorías

Más información sobre MATLAB 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