-
2 Comments
Ian
on 3 Nov 2013
How do I understand this? Never seen such a kind of code before.
David Verrelli
on 10 Apr 2017
Nice use of an anonymous function in your recursive approach. (I had used a nested function in an 'iterative' approach.)
Suggested Problems
-
Given an unsigned integer x, find the largest y by rearranging the bits in x
1914 Solvers
-
Find the largest value in the 3D matrix
1585 Solvers
-
1440 Solvers
-
Create an index-powered vector
851 Solvers
-
9720 Solvers
More from this Author96
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!