pinv2
Versione 1.0.1 (1,69 KB) da
Marco Cococcioni
This function computes the Moore-Penrose generalized inverse of a given matrix.
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)
Cita come
Marco Cococcioni (2024). pinv2 (https://www.mathworks.com/matlabcentral/fileexchange/95153-pinv2), MATLAB Central File Exchange. Recuperato .
Compatibilità della release di MATLAB
Creato con
R2021a
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS LinuxTag
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.