I have a List of items (type: double). Each item has it's own timestamp.
Now I need to calculate the average of items in a past interval. For example: Average of all items starting from 20 minutes ago until 10 minutes ago. Can someone suggest me how do I go about it?
Thanks a lot!
Now I need to calculate the average of items in a past interval. For example: Average of all items starting from 20 minutes ago until 10 minutes ago. Can someone suggest me how do I go about it?
Thanks a lot!
Comment