LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

The sizes of the input matrices are incompatible

0 Kudos
Message 11 of 14
(474 Views)

Hi Jose,

 

this is what I transform your VI into:

check.png

(The sequence frames are just to bundle their content to mimic your previous MATLAB nodes.)

 

Right now your VI is missing some data, see the comments. There also is no wait in your loop, so the VI will burn (atleast) one CPU core.

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 12 of 14
(459 Views)

Hi GerdW

Thanks for replying. I'll check the option you are giving to solve this. But the main problem is this:

error2.png

I input a 2x1 vector (xk1) from outside of the mathscript node and the matrix-vector product is done inside the node (A(2x2)*xk1(2x1)), then it outputs the result xk (2x1 vector). How to perform that operation?    

Download All
0 Kudos
Message 13 of 14
(445 Views)

Oops. I'm so ashamed, totally forgot to add the dimension right in the input, as the image shows in the red box.solution.png

 

0 Kudos
Message 14 of 14
(429 Views)