seems like a really fun and challenging problem!
Maybe the author should prohibit the use of polyval, str2num and regexp for this problem.
2997 Solvers
Extract leading non-zero digit
1213 Solvers
1609 Solvers
Set the array elements whose value is 13 to 0
955 Solvers
447 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!