To find the right null space of a matrix in MATLAB, you can use the null
function. This function calculates a set of orthonormal basis vectors for the null space of the input matrix. Here is an example of how to use it:
main.m126 chars9 lines
The 'r'
input for the null
function specifies that we want to calculate the right null space (as opposed to the left null space). The output N
contains the orthonormal basis vectors for the right null space of A
.
gistlibby LogSnag