Jed's Octave Assignment

From Class Wiki
Jump to navigation Jump to search

. Here I used octave to multiply a 3x3 matrix by a 3x4 matrix.


> a = [2,3,-4,5;4,-6,9,0;9,3,4,6]


  2   3  -4   5
  4  -6   9   0
  9   3   4   6


> b = [1,4,5;4,8,-9;-82,6,0;]


   1    4    5
   4    8   -9
 -82    6    0

> b*a ans =

   63    -6    52    35
  -41   -63    20   -34
 -140  -282   382  -410