Hi,
I have to build an application wherein I continuosly get a values stored in an array of a fixed size 10. For every new time interval the last value is deleted and new value is added to the array.At a time 10 values are read and average is calculated. once I get the mean value , I have to compare with the min and max deviation from the mean. If the value of each array of a set is within the range then I have to provide a count which shows number of values in the array set of 10 else show the count as number of values outside the range.
A set is of 10 values for each time interval.....
as
t0-t9 - 10 values....
t1-10- 10 values...
t2-t11 - 10 values..
and so on...
for all set i have to provide indication whether the set is valid or not....
Thanking you,
KHS