Exercise 4.9

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}$    

and perform the commands:
>> A(3,2) = 3
>> A(3,[2 4])
>> A(1:3,[2 4])
>> A(2,:)-7*A(1,:)
>> A(2,:) = A(2,:)-7*A(1,:)



Previous      Next      Up      Answer


Esteur 2010-03-22