Is there an easy way to get central n numbers in an array?for eg x=[ 1 2 3 4 5] I want to extract the central 3 numbers (i.e) 2,3 and 4.Which is the shortest way to do that?
MATLAB: Getting the central n numbers in array..
getting the central n numbers in array..
Best Answer