next up previous
Next: An other way of Up: Nullspace Previous: How to use MATLAB

Exercise 2

Enter the matrix A = $ \left[ \begin{array}{rrrrr}1&0&2&3 \\
4&-1&0&2 \ 0&-1&-8&-10 \end{array} \right] $ in MATLAB.

a) Use the method shown above to find a basis for the nullspace of A(this may involve some pencil & paper.

b) Name these vectors N1 and N2. Check your work by calculating A*N1 and A*N2. You should get zero vector.

c) Check to see if any linear combination of N1 and N2 is in $ null(A)$. You could do this by typing ( for example)

A* ( 3*N1 -2 *N2)



Ali A. Daddel 2003-02-25