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

1 次查看(过去 30 天)
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

回答(1 个)

Walter Roberson
Walter Roberson 2015-5-6
flipud(YourMatrix)

类别

Help CenterFile Exchange 中查找有关 MATLAB 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by