Exercise 4.11

Enter the following $ 4\times 4$ matrix.

$\displaystyle A = \begin{bmatrix}1 & 2 & -1 & 3 \\ 7 & 2 & 0 & 1 \\ 3 &-2 & -1 &-1 \\ 0 & 1 & 4 & 8 \end{bmatrix}$    

a)
Determine the transpose $ A^T$ of the matrix $ A$ by means of the command B = A'.
b)
Calculate $ AA^T$ by typing C = A*B. Check whether $ C$ is symmetric.
c)
Calculate $ A^TA$ by typing D = B*A. Compare your answer with $ C=A*B$ .
d)
Calculate $ 3A+5B^3$ by typing E = 3*A+5*B^3



Previous      Next      Up      Answer


Esteur 2010-03-22