How do I reverse the order of two rows of a 4x4 matrix using a for loop?

Answers (1)

Did you mean this?
A(3,:)=fliplr(A(3,:)); % replaced 1 with a 3
If not, can you describe your problem in more detail?

Categories

Find more on Loops and Conditional Statements in Help Center and File Exchange

Asked:

on 3 Mar 2015

Commented:

on 3 Mar 2015

Community Treasure Hunt

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

Start Hunting!