Symbolic Math Toolbox | ![]() ![]() |
Syntax
Z = null(A)
Description
The columns of Z = null(A)
form a basis for the null space of A
.
size(Z,2)
is the nullity of A
.
A*Z
is zero.
If A
has full rank, Z
is empty.
A = sym(magic(4)); Z = null(A) A*Zreturn
[ -1] [ -3] [ 3] [ 1] [ 0] [ 0] [ 0] [ 0]
See Also
arithmetic operators, colspace
, rank
, rref
, svd
null
in the online MATLAB Function Reference.
![]() | mhelp | numden | ![]() |