See the test suite of http://www.mathworks.co.uk/matlabcentral/cody/problems/2513 for an example of how to make sure regexp and other functions are not used.
Thanks for the tip, modified the test suite and updated the problem description to include regexpi in the list of illegal functions.
Modified the test suite again, sorry if it affects your solution.
Maximum running product for a string of numbers
1131 Solvers
1374 Solvers
291 Solvers
convert matrix to single column
313 Solvers
Change the first and last diagonal element of the identity matrix to zero
119 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!