controlconcepts
Lifetime Supporting Member
OP
From post 11 I assume you had already coded a rolling average with a FIFO. Are you recoding or just trying to understand the difference between a rolling average and a batch average?
Yes I want to understand the difference!
Here's another one. If you start the hour at 30C and you end the hour at 32C then your average for the hour is 31C. But if you spent most of the hour at 35C then is the average still 31C? A physicist might say yes and an engineer might say no. So it's always best to understand exactly what is needed and that average means different things in different contexts and code accordingly.[/quote]
Yes that makes for more thought Thanks for keeping me thinking,
Matt
Yes I want to understand the difference!
Here's another one. If you start the hour at 30C and you end the hour at 32C then your average for the hour is 31C. But if you spent most of the hour at 35C then is the average still 31C? A physicist might say yes and an engineer might say no. So it's always best to understand exactly what is needed and that average means different things in different contexts and code accordingly.[/quote]
Yes that makes for more thought Thanks for keeping me thinking,
Matt