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!
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 http://cycling74.com/forums/topic.php?id=42930 .
Log in to reply
SUBSCRIBE TO OUR NEWSLETTER
C74 RSS Feed | © Copyright Cycling '74 | Terms & Conditions