The author should probably add a case where the first position of x does not contain the maximum column position.
Swap the first and last columns
12716 Solvers
3987 Solvers
287 Solvers
Determine the number of odd integers in a vector
447 Solvers
366 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!