Answers for "octave diferece multiply .* and *"

0

octave diferece multiply .* and *

a.*b.' % .' means tranpose

ans =

     3
     8
Posted by: Guest on September-13-2020
0

octave diferece multiply .* and *

a = [ 1; 2]; % column vector
b = [ 3 4]; % row vector

a*b

ans =

     3     4
     6     8
Posted by: Guest on September-13-2020

Browse Popular Code Answers by Language