
777 Matrices
31.2.3 Matrix Transposition
Transposition is an operation by which the rows of a matrix are turned 
into columns and vice versa. Thus for the matrix E:
1
2
3
4
5
6
7
8
ABCDEFGH I
Matrix E
Transpose of E:  E
T
1234 1016<
--
  {=TRANSPOSE(A3:D5)}
0377-9 237
16 7 7 2 3 77 7
4-9 2
Cells F3:H6 are generated with the array function Transpose(A3:D5).  This function is inserted by marking off the target 
area, typing the formula, and then finishing by pressing [Ctrl]+[Shift]+[Enter] .  See Chapter 34 for more details.
TRANSPOSITION OF MATRICES
This illustration uses the array function Transpose. More details on the 
use of array functions are given in Chapter 34.
31.2.4  Multiplication of Matrices
You can multiply matrix A by matrix B to get product AB. However, 
you can only do so if the number of columns in A equals the number of 
rows in B. The resulting product AB is a matrix with the number of rows 
as A and the number of columns of B.
Confused? A couple of examples will help. Suppose that X is a row 
vector and that Y is a column vector, both with n coordinates:
XY=
[]
=
⎡
⎣
⎢
⎢
⎢
⎤
⎦
⎥
⎥
⎥
xx
y
y
n
n
1
1
... ,
Then the product of X and Y is defi ned by
XY =
⎡
⎣
⎢
⎢
⎢
⎤
⎦
⎥
⎥
⎥
=
=
∑
[ ... ]xx
y
y
xy
n
n
i
n
ii1
1
1
Now suppose that A and B are two matrices, and that A has n columns 
and p rows and B has n rows and m columns: