LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Removing vectors from a matrix

Hello, I hope that someone here can help me with this problem.
Perhaps it is better suited to a mathematics program, but I like the
way that LabView can output data, and I know how to program in it
better.

(Using LabView 5.0, by the way.)

Okay, I used LabView to diagonalize a 9x9 matrix. I had it give me
the eigenvalues as an array and the eigenvectors as a 9x9
table/matrix/cluster/whatever (I wrote it a long time ago, and I'm
still a beginner, so I can't tell just by looking at it). Now,
LabView doesn't normalize the eigenvectors, and I'm going to need to
use them, so I am trying to figure out how to extract these individual
eigenvectors from the output matrix. Any advice would be appreciated.

Also, when I change parameters for the
matrix, the order of all the
eigenvalues and their associated eigenvectors change. I don't
necessarily want them in any particular order, I just want them to
stay fixed in a certain order regardless of what the parameters are.
Perhaps I would know more how to solve this if I knew what criteria
LabView used to order the answers, since it seems to be more or less
random. The problem is that I want to track a certain eigenvalue as I
change the parameters.

Well, I know there's more stuff but I should see if anyone can help me
with this first.

Thanks in advance,

Neil
0 Kudos
Message 1 of 2
(2,595 Views)
Neil,
Since Eignevectors output is an 2D array, you should use the Index Array function to get all the columns/vectors. You can resize the Index Array function and wire constants to several column index inputs to get several 1D arrays at the output.
I am not sure what you mean with order. I always take the top element of the Eigenvalue 1D array to be "Lamda 1" and to correspond to the first column of the 2D array of Eigenvectors.

Please see the attached VI.

Zvezdana S.
National Instruments
0 Kudos
Message 2 of 2
(2,595 Views)