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! ;-)
First N Perfect Squares
Is the Point in a Circle?
Find out missing number from a vector of 9 elements
Determine the square root
the fly, the train, the second train, and their Zeno's paradox
singularity 2.0 (easier)
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