It's a dirty way to handle this to put base 5 numbers into the form of a base 10 number. You really should be using a string representation for the number in another base, just as dec2base does.
never thought about dec2base can do "5" base.learn a new trick.
Make a run-length companion vector
512 Solvers
219 Solvers
406 Solvers
Try 1.5.4: Celsius to Fahrenheit
609 Solvers
480 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!