Everyone, I've modified the test suite such that common cheats won't work; i.e., regexp/rep, interp1/2/3, num2str, str2num, etc. are disallowed! General numerical solutions, however, are most welcome.
Make the vector [1 2 3 4 5 6 7 8 9 10]
35670 Solvers
3973 Solvers
309 Solvers
320 Solvers
997 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!