05-11-2009 06:36 AM
I have a 1D array of 2000 elements. Now I want to get another array of 2000 elements in which each element will be the 200 points average of previous array.
means, X[100]= Sum (X[1]: X[200])/200 somthing like that.
how to do it?
05-11-2009 07:06 AM
Could you please post what you have tried so far? Based on that we will suggest you how to proceed.
Mathan
05-11-2009 07:08 AM
I'd split the array up into 10 parts then use Mean.vi to find the average of each part (Mathematics>Probabiltity and Statistics), then put the ten values you get back into an array using 'Build Array'
Hope this helps 🙂
Jack
05-11-2009 07:08 AM
Hi sukhiray,
see this link
http://forums.ni.com/ni/board/message?board.id=170&view=by_date_ascending&message.id=328437#M328437
The lower part should work for you.
Mike
05-11-2009 07:10 AM