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 Solvers501
Suggested Problems
-
What is the distance from point P(x,y) to the line Ax + By + C = 0?
557 Solvers
-
Sum of first n terms of a harmonic progression
498 Solvers
-
Matrix with different incremental runs
580 Solvers
-
Generate a random matrix A of (1,-1)
402 Solvers
-
537 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