Problem 42758. Convert float to base N
Solution Stats
Problem Comments
-
1 Comment
Rafael S.T. Vieira
on 19 Sep 2020
The problem actually considers 6 digits before and after the decimal point in the target base, which means 12 digits. Imho, when stating the number of digits after the decimal point, we must specify the base that we are referring to (since the digit 8 in base 10 is 4 digits in base 2, and the 2-digit number 15 in base 10 is only one digit F in base 16) .
Solution Comments
Show commentsProblem Recent Solvers19
Suggested Problems
-
283 Solvers
-
Put two time series onto the same time basis
312 Solvers
-
Vectorize the digits of an Integer
309 Solvers
-
Count letters occurence in text, specific to words with a given length.
134 Solvers
-
Remove entire row and column in the matrix containing the input values
283 Solvers
More from this Author2
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!