Another form of activism would be to weed out uses of regexp as in http://www.mathworks.com/matlabcentral/cody/problems/944-create-incremental-spiral-without-using-eval-or-feval/solutions/new.
This problem is also working correctly again after a few-weeks glitch. Rescored the last few votes to get those right.
Is there a way to parse the code inside the regex and assign an appropriate size to it? That would seem like the most fair thing to do.
I believe this hack should be banned. It makes the code hard to read and creates a dummy small solution while not being the smallest (local minima that may not exist for the problem).
I had fun with this paradox! ;-)
Calculate the Levenshtein distance between two strings
Convert a vector into a number
Check if number exists in vector
Find the hypotenuse
Beginner's Problem - Squaring
Knave in the middle attack
Smallest distance between a point and a rectangle
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