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

Home » Public Forums » archive » Determinant of a matrix
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Determinant of a matrix [message #86575 is a reply to message #86574] Wed, 20 November 2013 06:57 Go to previous messageGo to previous message
fd_luni is currently offline  fd_luni
Messages: 66
Registered: January 2013
Member
> What you are asking for is the rank of your matrix (i.e., mathematically, the number of independent columns). Matrix rank can be determined by singular value decomposition: the rank is the number of singular values which are not zero. In IDL, you can write:
>
>
>
> if A is your matrix:
>
> IDL> LA_SVD, A, W, U, V
>
> IDL> rank_of_A = N_elements(W[where(W ne 0)])
>
>
>
> alx.

I got 4 singular values so the rank(A)=4? This means that the four rows are linearly independent? The eigenvalues are look like this:
235042.27 10979.266 286.59332 7.6813673
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Calendar with days of the week
Next Topic: How to create 4D data matrix from 1D arrays?

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

Current Time: Wed Oct 08 17:58:36 PDT 2025

Total time taken to generate the page: 0.00487 seconds