This solution is outdated. To rescore this solution, sign in.
-
1 Comment
Tim
on 14 Mar 2013
This just got lucky on the test suite. It would fail on ecount(1:12,2), for example.
Suggested Problems
-
Project Euler: Problem 9, Pythagorean numbers
1301 Solvers
-
Calculate the Hamming distance between two strings
324 Solvers
-
376 Solvers
-
689 Solvers
-
11168 Solvers
More from this Author56
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!