Note: This page has been translated by MathWorks. Click here to see

To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

Null space of matrix

`Z = null(A)`

`Z = null(A,'r')`

`null(A)`

calculates the singular value decomposition of the matrix,
`[U,S,V] = svd(A,0)`

. The columns of `V`

that do not
correspond to nonzero singular values form a set of orthonormal basis vectors for the null
space.

The "rational" basis for the null space `null(A,'r')`

is obtained from
the reduced row echelon form of `A`

, as calculated by
`rref`

.