You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
Y = pinv2(G) produces a matrix Y of the same dimensions as G',
so that G*Y*G = G, Y*G*Y = Y and G*Y and Y*G are Hermitian.
In other words, pinv2 computes the Moore-Penrose generalized inverse
of the matrix G.
This function is expected to be faster than Matlab builtin function pinv,
although probably less robust than it.
This code is a slightly modified version of the one described in the following paper:
P. Courrieu (2005) "Fast Comptuation of Moore-Penrose Inverse Matrices", Neural Information Processing, 8(2)
Cite As
Marco Cococcioni (2026). pinv2 (https://www.mathworks.com/matlabcentral/fileexchange/95153-pinv2), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.0.1 (1.69 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
