Problem is incorrectly specified, according to the cases. 'Centering' seems to mean leave at most two spaces to either side, but otherwise center in the usual sense?
I did not know this function... nice
10124 Solvers
Find common elements in matrix rows
1272 Solvers
Project Euler: Problem 6, Natural numbers, squares and sums.
1034 Solvers
Project Euler: Problem 7, Nth prime
537 Solvers
242 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!