Is there a function in java to get moving average -


I have a situation where I need to process 5000 samples from every device in 0.5 seconds.

Let's, the window size is 100, then the moving average will be 50 points. I'm trying in a traditional way, that is, with loop. But this is a very inefficient way of doing this. Any suggestions?

Look at the Library This is the way to work properly, see what you want and for more information.


Comments