this not a good solution but good enough for the test cases
291 Solvers
middleAsColumn: Return all but first and last element as a column vector
397 Solvers
409 Solvers
285 Solvers
1269 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!