% To create a matrix in MatLab: a = [1 2 3; 4 5 6; 7 8 10] % 1 2 3 % 4 5 6 % 7 8 10
v = [16 5 9 4 2 11 7 14]; v(3) % Extract the third element (ans = 9)