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

조회 수: 1 (최근 30일)
amina shafanejad
amina shafanejad 2015년 5월 6일
답변: Walter Roberson 2015년 5월 6일
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