"cat" is a really nice touch for concatenation of those arrays! your solutions never fail my expectation.
by the way, i saw that "sub-func" comment...:)
Calling the two sub-functions the right way will not hurt your score. Great work though. :)
Make the vector [1 2 3 4 5 6 7 8 9 10]
36982 Solvers
3132 Solvers
Convert a numerical matrix into a cell array of strings
510 Solvers
middleAsColumn: Return all but first and last element as a column vector
402 Solvers
334 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!