Convert input number(s) (double) in base 10 to base x (2 through 16). Output should be a cell of character arrays. Compute output to a maximum of 16 decimal places.
Convert 1376.5 base 10 into base 2.
The exact solution for 38.59 in base 15 is the repeating decimal 28.8cb3b3b3b3b3b3b3..., which means the given solution 28.8cb3b3b3b3b42d4a contains some "junk digits" at the end; it's not really fair to ask for those junk digits as opposed to any others. Also, it looks like trailing zeros are supposed to be removed, but some of the base 2 solutions contain a trailing zero.
You are correct. Thanks for the comment. Fixed the errors you detected as well as a few others. Should be good now.
Flip the main diagonal of a matrix
Poker Card Deal!
Binary Array to Hex Representation
String to Binary Representation
Combinations using Stirling numbers of the second kind
Create State Array for initiating SHA-3-224 Hash
AES SubBytes() Transformation
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office