Text-only Table of Contents (frame/ no frame)
(9) Array Multiplication Previous Top Next

Array Multiplication (.*)


Rules of Array Multiplication

Example of Array multiplication

Try:
>> a = [ 1 2 3 ; 4 5 6]
a =
      1   2    3
      4   5    6
>> b=[1:3; 1:3]
b =
       1    2    3
       1    2    3
>> c = a.*b
 c =
       1      4     9
       4     10    18







Previous Top Next


Array_Multiplication.src  last modified Jan 27, 2014 Introduction Table of Contents
(frame/no frame)
Printable
(single file)
© Dartmouth College