This problem was fun. I was able to find a better way to solve beat my own solution. Not the best way though. But lot better.
Extract leading non-zero digit
1213 Solvers
230 Solvers
Split a string into chunks of specified length
488 Solvers
Given a matrix, swap the 2nd & 3rd columns
528 Solvers
391 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!