>> a = [1, 2] a = 1 2 >> b = [0, 1, 2] b = 0 1 2 >> c = a + [2, 2] c = 3 4 >> 2 * b ans = 0 2 4
>> a=1:3 a = 1 2 3 >> a=1:3:8 a = 1 4 7
>> sin([0, 1]) ans = 0.00000 0.84147