Is there a function in java to get moving average

后端 未结 7 1789
囚心锁ツ
囚心锁ツ 2020-12-14 16:14

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

Lets say the window size is 100, then there would be 50 points resulting fro

相关标签:
7条回答
  • 2020-12-14 17:16

    Check out the Apache Maths library. This has methods for doing precisely what you want. See DescriptiveStatistics and Mean for more info.

    0 讨论(0)
提交回复
热议问题