Perfect combination of 2016b new function and delicate thought.
Nice!! I'm not the only one who solved this problem without str2num... ;-)
Of course your are not :)
1838 Solvers
Increment a number, given its digits
562 Solvers
Check if number exists in vector
4492 Solvers
Cell Counting: How Many Draws?
584 Solvers
Area of an equilateral triangle
2769 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!