This solution is outdated. To rescore this solution, sign in.
-
1 Comment
Jonathan
on 29 Aug 2014
The behavior of accumarray has changed. In R2012b, I used I = accumarray(I.', 1); and it worked. I had to remove the transpose to pass the test suite.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!