- Community Home
- :
- Discussion Forums
- :
- Additional NI Product Boards
- :
- MATRIXx
- :
- how can i concatenate two matrices?

turn on suggestions

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

Topic Options

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page

02-11-2009 07:38 AM

Options

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report to a Moderator

02-11-2009 08:36 AM

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report to a Moderator

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

02-12-2009 02:19 AM

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report to a Moderator

Thanks Angela,

i would like to perform this concatenation using lab view

could you help me ?

02-12-2009 09:37 AM

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report to a Moderator

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