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.
Sophie Germain prime
Free passes for everyone!
Mask Generation Function (MGF1) for PKCS #1 Standard utilizing Optimal Asymmetric Encryption Padding for RSA Cryptography
Optimal Asymmetric Encryption Padding of message for RSA Cryptography
Elliptic Curve Cryptography (ECC) Point Addition
RSA encryption using public key
Optimal Asymmetric Encryption Padding decoding of message for RSA Cryptography
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