"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. :)
Back to basics 23 - Triangular matrix
634 Solvers
Find the largest value in the 3D matrix
1056 Solvers
465 Solvers
Remove from a 2-D matrix all the rows that contain at least one element less than or equal to 4
140 Solvers
414 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!