improve test suit
This solution only works for vectors that are already sorted from low to high :) but it passed the test suite
This works in R2012b, but not on cody
function ans = duplicate(x)
[x;x];
x(:)';
end
1137 Solvers
826 Solvers
given 3 sides, find area of this triangle
691 Solvers
Get the length of a given vector
3993 Solvers
344 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!