MATLAB pinv
The pinv function calculates the pseudoinverse of any matrix.
Contents
Usage
To solve the problem Ax = b for any size matrix A, try:
x = pinv(A) * b;
The pinv function calculates the pseudoinverse of any matrix.
Contents
To solve the problem Ax = b for any size matrix A, try:
x = pinv(A) * b;