LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

What is the difference between these two matrices

Hi,

 

I was given some code from Altenbach to fix a problem I was having, his example works perfectly but when I connect it to my matrix it gets errors, so my question is what is the difference between the random matrix he made and the matrix coming out of the eigenvector node of the eigeinvector eigenvalue vi.?

Thanks in advance for your help.

 

Untitled.png

0 Kudos
Message 1 of 3
(2,170 Views)
Your matrix is complex. Either search the palette for 'sort complex' to find the proper VI to replace Sort 1D Array or insert the absolute value function to sort by magnitude.
Message 2 of 3
(2,165 Views)

Thank you,

 

I should have seen that this was wat it was outputting. Please excuse my ignorance beacuse I am fairly new at this, so I can see that the sort complex sorts the colum in ascending order vertically what I need to do is rearrange the order of the matrix horizontally column by column with the sum of the column being the order. E.g if the sum along the column verically is the largest then that column is made column 1 etc. Is it possible to do this with either of the functions you mentioned? I think that I will need to keep the values neagative and posative so that I can take the largest value column, is this correct?

0 Kudos
Message 3 of 3
(2,162 Views)