What is the difference between PINV and MLDIVIDE when I solve A*x=b?

I would like to know the difference between PINV and MLDIVIDE when I solve A*x=b

 Accepted Answer

When the system A*x = b is overdetermined, both algorithms provide a similar answer. When the system is underdetermined, PINV will return the solution x, that has the minimum norm (min NORM(x)). MLDIVIDE will pick a solution which has at most m nonzero components for an m-by-n matrix A.

More Answers (0)

Categories

Find more on Linear Algebra in Help Center and File Exchange

Products

Tags

No tags entered yet.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!