# LabVIEW

cancel
Showing results for
Did you mean:

Solved!
Go to solution

## insert columns of one array into another

how can one insert columns of an array into another array at every odd place of that array in which insertions are to be made? In short, columns of one array to be inserted into another array bt possibly in between the already initialised array.

Message 1 of 5
(2,362 Views)

## Re: insert columns of one array into another

So I assume you're atlking about 2D arrays, right?

I'm not too sure that "inserting a column" in the correct wording for what you want, maybe you want to replace some value in a specific column of an array.

Can you give a simple example of what you want, like the 2D array before is :

A - B - C

D - F - G

And after "inserting a column" with  0 - 1 , what do you expect?

We have two ears and one mouth so that we can listen twice as much as we speak.

Epictetus

Antoine Chalons

Message 2 of 5
(2,360 Views)

## Re: insert columns of one array into another

what basically is the need is i have an array,say

Array 1

1 2 3 4

5 6 7 8

and i have another array,

Array 2

10 11

12 13

the output i want is

1 2 10 3 4 11

5 6 12 7 8 13

see, the array 2 is inserted in array 1 column wise.

Message 3 of 5
(2,355 Views)
Solution
Accepted by topic author NainaNarang

## Re: insert columns of one array into another

here's an example, feel free to ask question if it's not clear for you.

hope it helps

We have two ears and one mouth so that we can listen twice as much as we speak.

Epictetus

Antoine Chalons

Message 4 of 5
(2,348 Views)

## Re: insert columns of one array into another

ah...thank you so much..silly of me i shud hv used shift registers from the begining...lost it...

thanks a lot...:)

Message 5 of 5
(2,345 Views)