08-08-2016 02:29 PM
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
Solved! Go to Solution.
08-08-2016 02:36 PM - edited 08-08-2016 02:37 PM
This is pretty straightforward using autoindexing, a shift register, and "Replace Array Subset":
This assumes b and c are of equal size.
08-08-2016 02:48 PM
As ijustlovemath said, as long as B and C are equal sizes, here you go..
08-08-2016 02:58 PM
Thank You ! That's what I needed.