Not really my solution... just a slightly cheating version of @bmtran's.
65034 Solvers
Arrange Vector in descending order
5378 Solvers
Flip the main diagonal of a matrix
554 Solvers
Sum of first n terms of a harmonic progression
298Solvers
200 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!