I have a problem: I have a huge 1D array and I need to split it in to sets of 8 elements as need to compare these 8 elements with another 1 D array of size 8. is this possible?
Thanks for the help!!
Solved! Go to Solution.
Try the Decimate 1 D array. Read the help to see if it does what you want.
Two straightforward ways (among others):
Still think decimating would be easier, but that's JMHO.
Here's why: (Assume N pts)
Decimate (add outputs until you have 8 outputs total).
Now, the outputs will be 8 size N/8 arrays.
Next, concatenate them back together. Now you have a 2-D (8 x N/8) array.
Transpose it if you need it the other way around, and you're done.
I am usind the Array subset to split my huge 1D array in to chunks of 8. But I am unsure as to what to pass in to the index input of the Array subset function. When I put it in a for loop, the index continuously changes. So what do I input?