Given a number change it's representation to HEX and output it.
Solution Stats
Problem Comments
2 Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers40
Suggested Problems
-
16171 Solvers
-
502 Solvers
-
Project Euler: Problem 6, Natural numbers, squares and sums.
2540 Solvers
-
Find the sum of the elements in the "second" diagonal
1204 Solvers
-
Find the index of the largest value in any vector X=[4,3,4,5,9,12,0,4.....5]
399 Solvers
More from this Author16
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
It should be noted that the author is requesting the float representation of hexadecimal numbers. Maybe a test case with pi should be added.
In particular, the problem asks for the IEEE 754 double precision format. I learned two things from this problem: (1) how to convert a number to the IEEE 754 format and (2) that MATLAB already has a function to do it.