"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. :)
672 Solvers
562 Solvers
250 Solvers
379 Solvers
Write a function man that takes a row vector v and returns a matrix H as follows..
446 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!