Azzera filtri
Azzera filtri

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

2 visualizzazioni (ultimi 30 giorni)
amina shafanejad
amina shafanejad il 6 Mag 2015
Risposto: Walter Roberson il 6 Mag 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

Risposte (1)

Walter Roberson
Walter Roberson il 6 Mag 2015
flipud(YourMatrix)

Community Treasure Hunt

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

Start Hunting!

Translated by