Problem 42589. Change number representation to HEX
Given a number change it's representation to HEX and output it.
Solution Stats
Problem Comments
-
2 Comments
Rafael S.T. Vieira
on 28 Aug 2020
It should be noted that the author is requesting the float representation of hexadecimal numbers. Maybe a test case with pi should be added.
ChrisR
on 19 Mar 2022
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.
Solution Comments
Show commentsProblem Recent Solvers38
Suggested Problems
-
410 Solvers
-
Convert a Cell Array into an Array
1714 Solvers
-
What is Sum Of all elements of Matrix
413 Solvers
-
Convert given decimal number to binary number.
2071 Solvers
-
Matlab Basics - Convert a row vector to a column vector
629 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!