-
2 Comments
Alfonso Nieto-Castanon
on 26 Jan 2016
this solution would fail a test of the form a=[2 1 1 1];
Ned Gulley
on 27 Jan 2016
I added [2 1 1 1] as a test.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!