David -- Good problem. I got sidetracked by the fact that the arguments 'd' and 'n' in the solution template are reversed from the order that they are provided in the test problems.
Sorry, I did not mean to do that. Fixed.
Sort a list of complex numbers based on far they are from the origin.
First N Perfect Squares
Recurring Cycle Length (Inspired by Project Euler Problem 26)
Rotate and display numbered tile
Getting logical indexes
Convert base 10 to base x (2-16)
AES MixColumns() Transformation
Optimal Asymmetric Encryption Padding of message for RSA Cryptography
Optimal Asymmetric Encryption Padding decoding of message for RSA Cryptography
All flights lead to Idaho Falls
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