MATLAB: Variable selection problem

selections

I have a matrix aaa, which has the values
0
1
2
3
4
5
6
7
8
in one column. say i want to save from 2~8 from the column. how do i select only from 2~8? Thanks

Best Answer

B = aaa(3:end)