"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. :)
Find the sum of all the numbers of the input vector
32725 Solvers
Find the largest value in the 3D matrix
1068 Solvers
Find the index of the largest value in any vector X=[4,3,4,5,9,12,0,4.....5]
301 Solvers
Side of an equilateral triangle
2759 Solvers
484 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!