Hi, When I multiply a and b
a=[1 -2 0; 3 2 1; -2 1 3];
b=[4, -2 3;-1 5 0;6 1 2];
I get this answer
ans =
6 -12 3 16 5 11 9 12 0
The second row appears to be incorrect. When I do it by hand, the second row becomes [4 3 7]
I'm new to Matlab; is my syntax ok?
Best Answer