The problem description and title have been improved while the test suite has been expanded to include matrices (not just vectors).
Permute diagonal and antidiagonal
225 Solvers
352 Solvers
234 Solvers
2254 Solvers
1183 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!