pinv
- :
X =pinv(A)¶ - :
X =pinv(A, tol)¶ Return the Moore-Penrose pseudoinverse of the matrix A.
The result is built from the singular value decomposition
A = U*S*V'asV*pinv(S)*U', where singular values not exceeding tol are treated as zero. By default tol ismax (size (A)) * eps (norm (A)).For an m-by-n input the output is n-by-m, and single precision input gives single precision output.