-
2 Comments
Brad
on 5 Oct 2014
I think the test suite needs a test for a = [0 0 0 0]. I passed with the above code but would not pass this case.
Meade
on 8 May 2015
I ended up with the same logic, I'm glad I wasn't the only one.
It's a shame this is basically a verbose reworking of the imdilate function (which is not accessible for this challenge)
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!