Permute diagonal and antidiagonal For example [1 2 3;4 5 6;7 8 9] -> [3 2 1;4 5 6;9 8 7] WITHOUT diag function (and variable name)
Solution Stats
Problem Comments
1 Comment
Solution Comments
Show comments
Loading...
Problem Recent Solvers508
Suggested Problems
-
9160 Solvers
-
3086 Solvers
-
Increment a number, given its digits
687 Solvers
-
Get the elements of diagonal and antidiagonal for any m-by-n matrix
517 Solvers
-
Find the sides of an isosceles triangle when given its area and height from its base to apex
2171 Solvers
More from this Author43
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
good