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.
Make one big string out of two smaller strings
Longest run of consecutive numbers
Moving average (variable kernel length)
kmph to mps
Matrix Construction I
Back to basics: throwing errors / exceptions
Back to basics: adding comments to your code
Comparison of floating-point numbers (doubles)
Comparison of floating-point numbers (singles)
Testing for randomness: uniform distribution of real numbers (distribution checking)
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