Quantcast
Channel: LabVIEW topics
Viewing all articles
Browse latest Browse all 67219

Repeat elements of an array

$
0
0

Lets say I have an array like this.                                 

 

                
1000110000000110
                
0100000000000110
                

 

 

 

Now I want to change this array and copy each row n time. Let's say for now n=1    so the array should  become like this. 

 

1000110000000100
1000110000000110
0100000000000100
0100000000000110
                

 

 

and if n=2 then the below table 

 

1000110000000100 
1000110000000110 
1000110000000110 
0100000000000100 
0100000000000110 
0100000000000110

 

 

 

 

so i should add the new copied rows and shift the table down. And as can be seen the one before last bit should always follow this pattern 1,01,011 then 0111

 

Could you please help me to implement it in LabVIEW

 

Thanks

 

 

 

 

 


Viewing all articles
Browse latest Browse all 67219

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>