I added more test cases to make this problem less trivial.
823 Solvers
597 Solvers
518 Solvers
middleAsColumn: Return all but first and last element as a column vector
394 Solvers
2226 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!