The problem description is broken(?) and you have mentioned the code in the test suite (you might want to remove that)
The test suite has had the "solution" code removed. The description was also cleaned up. (If it's not loading, simply reload the page.) I'm not sure how much these fixes help, though...
Extract leading non-zero digit
1213 Solvers
933 Solvers
Create a vector whose elements depend on the previous element
397 Solvers
326 Solvers
330 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!