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)
"max(...)" is clever!
7678 Solvers
The Hitchhiker's Guide to MATLAB
2694 Solvers
Return unique values without sorting
488 Solvers
410 Solvers
Find the index of the largest value in any vector X=[4,3,4,5,9,12,0,4.....5]
230 Solvers