nullspace(A)
Returns a matrix such that its columns span the null space of matrix A.
See also nullity echelon span
Example
a = ( 2, 3, 4 ; 5, 3, 1 )
2 3 4
5 3 1
nullspace(a)
1
-2