Skip to content

null

linear-algebra · scripts/linear-algebra/null.m

: z = null (A)
: z = null (A, tol)
: z = null (A, "r")

Basis for the null space of A.

By default an orthonormal basis is computed from the right singular vectors whose singular values do not exceed tol (default max (size (A)) * eps (max (svd (A)))). With the option "r" a rational basis is built from the reduced row echelon form; it is generally not orthonormal.