This solution is outdated. To rescore this solution, sign in.
-
1 Comment
Piero Cimule
on 19 Jun 2020
x = A(:,1);
y = A(:,end);
A(:,1)=y;
A(:,end)=x;
B=A
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!