
fire_starter
Hi guys, I'm running Pd 0.46.5 so I can't use the average object. My question is:
I have a stream of numbers coming in which I want to find the average of. I want to do this by adding each number to the next, and then dividing it by the total of numbers being added together. I'm struggling to implement this though, can someone help?
So far I've made a counter to count how many numbers there are to divide by, but I don't know how to write the expression to calculate the average.
Regards

fire_starter
Hey guys, I'm trying to find an example patch of a kalman filter for use in one of my patches (I'm using MobmuPlat to sample accelerometer data).
So far, I've only found this example patch:
https://github.com/jwmatthys/kalmanpdbut the kalman object is missing  I'm pretty sure all of the processing is done in the kalman.c file, but I don't know how to get it to work in the PD patch.
Can anybody help please, I've been looking for hours!
Regards
fire_starter