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

1 view (last 30 days)
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

Answers (1)

Walter Roberson
Walter Roberson on 6 May 2015
flipud(YourMatrix)

Categories

Find more on MATLAB in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!