Re: Repeatively extract certain number

2004-01-06 Thread Teh
Thank for you help. I need the average value to plot a graph another graph. This is the first 10 value averge but how about the rest of my data, because i a set of average value. i.e average first 10 values of my data and then second 10 values and so on until finish process my data. (in between

Re: Repeatively extract certain number

2004-01-06 Thread Mads
What exactly is it you want to calculate an average from? You say you want to average the first 10 and then the next 10...which sound OK, then it's just creating an averaged graph, but you also say that in between the averages there are 6 values you don't want. Are you saying that you want the

Repeatively extract certain number

2004-01-05 Thread Teh
Can anyone tell me how to do this if i want to extract row of data and converted into average for 300 data. i.e my array consist elements {1,1,2,1,4,2,3,1,5,6,8}. I need to extract element 1,1,2,4 and 3,1,5,6,8. Both average value 2 and 11.5 respectively. Thank you.

Re: Repeatively extract certain number

2004-01-05 Thread Mads
If all you need to do is to calculate the average of a segment of the array just wire the array to the array subset function and specify the start and length of the subset you want. Wire the output to the average function (or a sum-function and then divide by the length). If the arrays are very