ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

double size the array

Hi there:
 
     I have an array , and the elements of the array are binary 1 and 0 . Now I want to insert a zero after each element. For example I have a 4-element array 1 0 1 1 and I wanna get a 8-element array like this 1 0 0 0 1 0 10 .
 
 
I am using a insert array function to do so, but it is too slow, because I have 200000 elements. Is there any way doing faster?
 
thanks
0 Kudos
Message 1 of 2
(2,733 Views)

Try the attached version, using "interleave array" 😄

Message Edited by altenbach on 12-16-2005 03:47 PM

Download All
0 Kudos
Message 2 of 2
(2,731 Views)