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
3097 Solvers
3920 Solvers
Flag largest magnitude swings as they occur
588 Solvers
521 Solvers
Flip the vector from right to left
2815 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!