# LabVIEW

cancel
Showing results for
Did you mean:

Solved!
Go to solution

## integrtae an array into others

Hi Guys,

I have an array A with the length 10. All elements are equal zero. Now I have second array B with the length of 5 elements. Now I have a third array with also 5 elements. No I need to replace the elements in A whose indices are equal the elements of array C with the elements of array B. For more explanation look at the image !

thx

Message 1 of 4
(1,175 Views)
Solution
Accepted by topic author Mughalles

## Re: integrtae an array into others

This is pretty straightforward using autoindexing, a shift register, and "Replace Array Subset":

This assumes b and c are of equal size.

Message 2 of 4
(1,165 Views)
Solution
Accepted by topic author Mughalles

## Re: integrtae an array into others

As ijustlovemath said, as long as B and C are equal sizes, here you go..

CLD | CTD
Message 3 of 4
(1,155 Views)

## Re: integrtae an array into others

Thank You ! That's what I needed.

Message 4 of 4
(1,144 Views)