Quantcast
Channel: All LabVIEW posts
Viewing all articles
Browse latest Browse all 202561

Clone each element in a 1d array multiple times to create a new 1d array

$
0
0

For an example 1d array [1,2,3,4,5,6], how to duplicate each element 5 times for instance, to generate a new 1d array as [1,1,1,1,1,2,2,2,2,2,3,3,3,3,3,4,4,4,4,4,5,5,5,5,5,6,6,6,6,6]? 


Viewing all articles
Browse latest Browse all 202561

Trending Articles



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