next up previous contents
Next: MAXLOC Up: MATMUL Intrinsic Previous: MATMUL Intrinsic

Solution

C=MATMUL(A,B) performs `proper' mathematical matrix multiplication. Element C(i,j) equals DOT_PRODUCT(A(i,:),B(:,j))

C=A*B, however, performs element-by-element multiplication. Element C(i,j) equals A(i,j)*B(i,j).


next up previous contents
Next: MAXLOC Up: MATMUL Intrinsic Previous: MATMUL Intrinsic

©University of Liverpool, 1997
Thu May 29 10:11:26 BST 1997
Not for commercial use.