cancel
Showing results for 
Search instead for 
Did you mean: 
Reply

how can i concatenate two matrices?

how can i concatenate two matrices?

 
0 Kudos
Message 1 of 4
(8,809 Views)

Re: how can i concatenate two matrices?

Hello,

To combine matrices, you can define a third matrix where the components of the third matrix are defined with the previously existing matrices.  For instance:

A=[1,4;5,7]

 

A (a square matrix) =

 

1 4

5 7

 

B=[6,9;10,8]

 

B (a square matrix) =

 

6 9

10 8

 

C=[A;B]

 

C (a rectangular matrix) =

 

1 4

5 7

6 9

10 8

 

I hope this helps.

 

Regards,

Angela M

Product Support Engineer

0 Kudos
Message 2 of 4
(8,808 Views)

Re: how can i concatenate two matrices?

Thanks Angela,

 

i would like to perform this concatenation using lab view

 

could you help me ?

 

0 Kudos
Message 3 of 4
(8,795 Views)

Re: how can i concatenate two matrices?

Hello rasha,

I am sorry for any confusion, questions about LabVIEW should be posted to the LabVIEW discussion forum.  MATRIXx is a different National Instruments product.  You can see all of the National Instruments forums here.  The LabVIEW forum is here.  I would recommend searching the forums and LabVIEW help for concatenate matrix or concatenate matrices.  Note that several of the functions in the array palette can be used with matrices.

 

Hope this helps,

Angela M

Product Support Engineer

0 Kudos
Message 4 of 4
(8,786 Views)