03-18-2011 10:23 AM
Hi,
I have a very large 1d array I need to decimate or sort. basically there are 102,400 elements. Every 1024 are from channel measurements of which 100 sample aquisitions take place making up 102,400 elements (first 1024 measures in the 1d array represent the first sample of which there are a 100 of them).
Decimate could work I assume with 100 elements but having some issues building the 1d back again. I would like to sort the 1024 channels 100 samples togethor because its easier to index the 1d array when I need to do averaging calculations.
Thanks for any help....
03-18-2011 10:35 AM
So are you having a problem coming up with a generic decimation algorithm? A simple one would be just a loop where you index out the specific multiple you want. Or, you could reshape the array and peel off the column you want. See attached example as a starting point.
12-31-2012 11:26 AM
thanks!