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! ;-)
Find perfect placement of non-rotating dominoes (easier)
Getting logical indexes
We love vectorized solutions. Problem 1 : remove the row average.
03 - Matrix Variables 5
Deleting an element in a matrix
yet another flying fly (YAFF)
Knights and Knaves (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