You can try one of the following approaches highlighted below to multiply the corresponding elements of two Matlab arrays.
>> a=[2 4 6 8 10]a = 2 4 6 8 10>> b=[1 3 5 7 9]b = 1 3 5 7 9>> a.*bans = 2 12 30 56 90>> times(a,b)ans = 2 12 30 56 90