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