Problem 1988. Remove the middle element from a vector

Remove the middle element of a vector?


[1,2,3] should return 2

[1,2,3,4] should return 2

[] should return empty vector

Solution Stats

47.69% Correct | 52.31% Incorrect
Last Solution submitted on Dec 14, 2023

Problem Comments

Solution Comments

Show comments

Problem Recent Solvers89

Suggested Problems

Problem Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!