running average, min and max
I'm looking to get a running average from my float data which is on a random metro. has anyone came across a problem like this before?
I'll be attempting to get a minimum and maximum also to normalise the data but one step at a time. any help would be great.
ha! simply the (mean) object!
If you want a running average of the n last numbers you can use a combination of [zl stream], [zl sum] and [/] too!
Hi,
you might also be interested in [sadam.stat]
, which will give you the standard deviation of the dataset and will give you some control on the length of the dataset to consider. See https://cycling74.com/forums/announce-the-sadam-library-version-2012-10-08 .
HTH,
Ádám
compare [mean] with [zl stream] [zl sum] [/]
i have always been doing it using accum, counter and /