sum of matric octave code example
Example 1: octave diferece multiply .* and *
a.*b.' % .' means tranpose
ans =
3
8
Example 2: octave diferece multiply .* and *
a = [ 1; 2]; % column vector
b = [ 3 4]; % row vector
a*b
ans =
3 4
6 8