comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » ** SVD using WAVE-Advantage **
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
** SVD using WAVE-Advantage ** [message #2091] Tue, 17 May 1994 07:52
jhai is currently offline  jhai
Messages: 1
Registered: May 1994
Junior Member
Hello:
I am doing a SVD of a rectangular array and having problems
understanding the output. (I am no expert on SVD).

WAVE> a=fltarr(581,499)
WAVE> info,a
A FLOAT = Array(581, 499)
WAVE> s=svdcomp(a,U=u,V=v)
WAVE> info,a,u,v,s
A FLOAT = Array(581, 499)
U FLOAT = Array(581, 499)
V FLOAT = Array(499, 499)
S FLOAT = Array(499)
WAVE>

According to my understanding of the SVD, the dimensions of U should be
(499, 499) and that of V should be (581, 499)

Actually I am using the SVD to get the principal componenets and pc-scores.
After I have got the U and V matrices, the PC-scores can be obtained by
multiplying the columns of the U matrix by the corresponding singular
value. In the above example I have 499 sv's and U has 581 columns!!
Can somebody correct me where I am going wrong.

Thanks.
the columns of U multiplied by the
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: ENVI Rep
Next Topic: Gravity ?

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 16:39:10 PDT 2025

Total time taken to generate the page: 0.23899 seconds