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) .
Problem Recent Solvers18
Suggested Problems
-
554 Solvers
-
Get the elements of diagonal and antidiagonal for any m-by-n matrix
435 Solvers
-
589 Solvers
-
172 Solvers
-
137 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!