LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Null Space matrix

Solved!
Go to solution

Hello,

 

I have a question regarding Solve Linear Equation.vi.

 

Given a system of 8 equations with 9 unknown, in a form: AX = Y , A is a 8x9 knwon matrix and X is a 9x1 Vector (unknowns) and Y = 0. I would like to find the null space of this system of equation. We have 9 column vectors each with 8 elements. The column vectors are lineary dependent so there must be a linear combination of them. So I would like to find the X by solving for the null space of the 8x9 matrix of A.

 

Is the Solve Linear Equation is capable for this purpose?

 

 

---
+++ In God we believe, in Trance we Trust +++
[Hungary]
0 Kudos
Message 1 of 3
(3,431 Views)
Solution
Accepted by topic author D60

Hi D60!

 

If you double click the Solve Linear Equation.vi, and have a look on the block diagram.

You will see that depending on the type of your matrix, different equitation solving functions are used. You can double click these functions too, to have a look how it works.

 

I think the easiest way to get the null space of the matrix is the null() function of the Mathsrcipt node.

 

Please let me know if my suggestion helps.

 

Best Regards,

CLA, CLED
0 Kudos
Message 2 of 3
(3,406 Views)

Dear Balazs Nagy,

 

Thanks for your help. I found a complete solution. Null space matrix computation is was just an inner step in my calculation procedure. The SVD decomposition is the key for the success. Thanks for your help, and also accept your reply as solution.

 

Have a nice day,

 

P.S: Anyway as I know, the QR decomosition is useful for null space matrix computation, the R matrix provides the upper triangular matrix which can be used for null space.

---
+++ In God we believe, in Trance we Trust +++
[Hungary]
0 Kudos
Message 3 of 3
(3,375 Views)