Needs more test cases, having arrays with more than 4 elements.
This is definitely cheating.
I couldn't resist... :o) Sorry!!!
687 Solvers
middleAsColumn: Return all but first and last element as a column vector
387 Solvers
724 Solvers
227 Solvers
Natural numbers in string form
348 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!