% This is an example to remove first 3 values. Replace 4 by n+1 to remove first n elements from the array. A = [1,2,3,4,5,6,7,8,9,10] A = [A(4:end)]