HH, you get no credit for hacking the problem. Only legitimate solutions gain credit.
A commendable solution! The first submission, and a respectable size, sure. But something else setting this apart is the professional-looking use of comments throughout the submission, which provides great insight — without any penalty! Atsushi Ueno is the only one of the first ten solvers to do this (despite the explicit cue). Others maybe should also tackle Problem 44405.
First N Perfect Squares
02 - Vector Variables 4
Dimensions of a rectangle
Create a vector
Is input the global variable z?
Testing for randomness: uniform distribution of real numbers (distribution checking)
Back to basics: adding comments to your code
Code breaker, Part III: Operation Xiangliu
Make your own Test Suite (part 3)
Find the treasures in MATLAB Central and discover how the community can help you!
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