Problem Number 2     Due 1/26/01


This homework problem is designed to improve your familiarity 
with matlab matrix manipulation functions, and to see just how they work.

a.  construct the matrix A given by:

	1  2  3  4
A =  	3  4  5  6
	5  6  7  8

and the matrix B given by:

	1  2
B = 	2  3
	3  4
	4  5

b. Using matlab, determine transpose(A) and compute  C = A * B

c. Show that transpose(C) = transpose(B) * transpose(A)

d. What happens if you try the operation B * A?

e. Write a matlab function that uses loops to multiply two matrices.
Use it to calculate C and compare the result to that produced by 
the simple matlab matrix multiplication command.