Best solution, balancing readability and short size.
You got it bruh!
This answer isn't even accepted. Mathworks cares enough to make Cody, but not enough to actually maintain or monitor it lol.
Removing of whitespace improves the score by 9, this is getting ridiculous...
Hi Fumiaki, could you please explain how this code works?
I would have never done this way. Great job!
Increment a number, given its digits
middleAsColumn: Return all but first and last element as a column vector
Getting logical indexes
06 - Matrix Equations 2
Make a checkerboard matrix
Find the sum of all the numbers of the input vector
Add two numbers
Extract leading non-zero digit
Longest Divisor Run
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