Turn on suggestions

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

Showing results for

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

Highlighted
How can I split a 2D array in order to filter a signal? one column is the signal and the other one is the channel, and I´m filtering 18 channels.

07-26-2004 02:38 PM

Options

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

Highlighted
Options
If you have 18 channels "one column is the signal and the other one is the channel" does not make sense. Do you mean one dimension is the signal and one dimension is the channel, forming an "18 by X" array?

To obtain a certain row or a certain column as 1D array, use index array and leave one of the indices unwired. This will give you one row or one column, respectively.

** LabVIEW Champion. It all comes together in GCentral **

07-26-2004 04:16 PM

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

To obtain a certain row or a certain column as 1D array, use index array and leave one of the indices unwired. This will give you one row or one column, respectively.

Highlighted
Options
Sounds to me like he has a 2D array as such:

Row/Col Col 1(signal) Col 2(channel)

Row 1 3.009 1

Row 2 4.239 2

Row 3 1.100 3

In this case, the first dimension is the row dimension, and the second dimension is the column dimension. When the second dim is 0, all the rows contain signal info, when the second dim is 1, all the rows contain channel numbers.

You can split the 2D array into two 1D arrays. Row numbers between the two 1D arrays would still match signal data to channel number. So to make a 1D array of all rows in one column using the Index Array function, leave the first dim unwired (all rows), and wire the second dim (0 for signal, 1 for channel number).

07-26-2004 05:41 PM

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

Row/Col Col 1(signal) Col 2(channel)

Row 1 3.009 1

Row 2 4.239 2

Row 3 1.100 3

In this case, the first dimension is the row dimension, and the second dimension is the column dimension. When the second dim is 0, all the rows contain signal info, when the second dim is 1, all the rows contain channel numbers.

You can split the 2D array into two 1D arrays. Row numbers between the two 1D arrays would still match signal data to channel number. So to make a 1D array of all rows in one column using the Index Array function, leave the first dim unwired (all rows), and wire the second dim (0 for signal, 1 for channel number).

Highlighted
Options
Splitting the signal works great. Thanks. I need to recombine the signals though after processing them individually. What function can I use for this?

04-10-2009 12:39 PM

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

Highlighted
Options

04-10-2009 12:42 PM

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