Problem 721. Convert from Base 10 to base 5
46.21% Correct | 53.79% Incorrect
Last Solution submitted on Jan 24, 2023
Peter Wittenberg on 12 Jan 2013
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.
Problem Recent Solvers245
Sum all integers from 1 to 2^n
Replace multiples of 5 with NaN
Determine the number of odd integers in a vector
Back to basics - mean of corner elements of a matrix
More from this Author11
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!