Needs more test cases.
You can use regexp
287 Solvers
Project Euler: Problem 7, Nth prime
539 Solvers
Generate N equally spaced intervals between -L and L
573 Solvers
Sum the elements in either diagonal of a square matrix
181 Solvers
Find the dimensions of a matrix
377 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!