This problem is exactly the same as the next one, "Go to the head of the class!"
Extract leading non-zero digit
1213 Solvers
Maximum running product for a string of numbers
1131 Solvers
643 Solvers
214 Solvers
Rounding off numbers to n decimals
1081 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!