LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to build a inverse matrix

I cannot explain the difference and I don't have  RIO to test at the moment. Is your RIO linux or older?

 

Note that the condition number of your matrix is infinite, so most likely none of you "solutions" are good anyway.

 

 

0 Kudos
Message 11 of 13
(264 Views)

Hi,

 

I am using cRIO 9035 Linux platform.

Do you mean Matrix type?

 

In Matrix-Test.vi: I am having m*n Input Matrix where m will be dyamic size and n will be 33. Therefore solution vector (X) will be of size 33.

 

I found Matrix*Vector express vi under FPGA Palette. Is this same as Solve Linear Equations.vi?

http://zone.ni.com/reference/en-XX/help/371599N-01/lvfpga/matrixvector/

 

Thanks & Regards,

Shree

0 Kudos
Message 12 of 13
(250 Views)

@Shree_Nivas wrote:

 

I found Matrix*Vector express vi under FPGA Palette. Is this same as Solve Linear Equations.vi?

http://zone.ni.com/reference/en-XX/help/371599N-01/lvfpga/matrixvector/

 


No, that's the opposite.

 

(Similar to "Solve linear equations" would be "General linear fit", in fact it gives basically the same result but has more tuning options. Have you tried try to compare the different hardware scenarios with more stable inputs. What does the data represent and what are you trying to get out of all this??

 

(Note that running your code on an 8 core AMD Ryzen lights up only one of the LEDs, meaning that most result elements are slightly different even here.)

0 Kudos
Message 13 of 13
(245 Views)