Re: pseudoinverse



What u write is correct but i've tried to compute the SVD
with scilab and with the code provided by numerical recipes
and i obtain different U S and V matrices.
In both the cases A=U S transpose(V) but the calculation of the pinv is different in my code (wrong) and in scilab (correct)
How is this possible?


andrea


SC Huang wrote:
OK, I am not sure if this is what you are looking for:

If the svd of matrix is A is:
A = U S V^*
then the pseduoinverse of A is:
pseudo-inv(A) = V S^{-1} U^*


Note that S is diagonal, so S^{-1} is easy to calculate. Also, V^*
denotes the hermitian of V (complex cojugate transpose). If V is real,
then V^* is just the transpose of V.  Hope this helps.


On 2005-09-16, andrea mordini <stredostudio@xxxxxxxxx> wrote:

I'm searching the fortran code to compute the pseudoinverse matrix by the SVD single value decomposition which i have already computed.
thanks


andrea
.



Relevant Pages

  • Re: pseudoinverse
    ... the numerical recipes code scale S differently? ... but not scilab and numerical receipe's ... > What u write is correct but i've tried to compute the SVD ... >> denotes the hermitian of V (complex cojugate transpose). ...
    (comp.lang.fortran)
  • Re: pseudoinverse
    ... andrea mordini wrote: ... > What u write is correct but i've tried to compute the SVD ... > with scilab and with the code provided by numerical recipes ...
    (comp.lang.fortran)
  • ? eig, svd, and princomp
    ... eig(), svd, and princomp. ... But what about the principal component decomposition? ... MatLab command princomp() gives a principal component matrix. ... But how about the SVD? ...
    (sci.math)
  • Re: Calculation of svd of 3D matrix
    ... > For modal testing I assume you are trying to calculate the CMIF ... > line and do the svd as you normally would. ... you need to apply tensor decomposition rather than ... >>> Jarek ...
    (comp.soft-sys.matlab)
  • Re: Calculation of svd of 3D matrix
    ... For modal testing I assume you are trying to calculate the CMIF ... (Compex Mode Indicator Function) ... line and do the svd as you normally would. ... you need to apply tensor decomposition rather than ...
    (comp.soft-sys.matlab)