Click here to Skip to main content
15,887,353 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Strange questions from a nitpicker ... ;p Pin
BernardIE53174-Feb-24 11:48
BernardIE53174-Feb-24 11:48 
GeneralRe: Strange questions from a nitpicker ... ;p Pin
CPallini4-Feb-24 20:43
mveCPallini4-Feb-24 20:43 
GeneralRe: Strange questions from a nitpicker ... ;p Pin
Harald M.4-Feb-24 22:58
Harald M.4-Feb-24 22:58 
GeneralRe: Strange questions from a nitpicker ... ;p Pin
Cpichols5-Feb-24 2:16
Cpichols5-Feb-24 2:16 
GeneralRe: Strange questions from a nitpicker ... ;p Pin
Gary Wheeler5-Feb-24 2:35
Gary Wheeler5-Feb-24 2:35 
GeneralRe: Strange questions from a nitpicker ... ;p Pin
maze35-Feb-24 4:11
professionalmaze35-Feb-24 4:11 
GeneralRe: Strange questions from a nitpicker ... ;p Pin
kholsinger5-Feb-24 4:41
kholsinger5-Feb-24 4:41 
GeneralRe: Strange questions from a nitpicker ... ;p Pin
Martijn Smitshoek5-Feb-24 6:35
Martijn Smitshoek5-Feb-24 6:35 
I would really like to add to your confusion. You're talking about sample count = 1 etc, but you're talking of a continuous stream of samples, have you thought about what "average" means if you have had 94760434786353845 samples accumulated over 72 hours in a changing signal, would you *seriously* want to report the average of all that?

My engineering self wants to suggest that you use a sliding average window of a fixed size, say, 10, but it could be anything reasonable considering the rate of change, and any noise that you would otherwise want to average out.
Then, if you pick that number, say, N=10, then you can only start reporting after you've had at least 10 samples. And that would answer your original question.
GeneralRe: Strange questions from a nitpicker ... ;p Pin
BernardIE53175-Feb-24 8:54
BernardIE53175-Feb-24 8:54 
GeneralRe: Strange questions from a nitpicker ... ;p Pin
Dani65-Feb-24 11:33
Dani65-Feb-24 11:33 
GeneralRe: Strange questions from a nitpicker ... ;p Pin
MikeCO106-Feb-24 0:41
MikeCO106-Feb-24 0:41 
GeneralRe: Strange questions from a nitpicker ... ;p Pin
jschell6-Feb-24 5:20
jschell6-Feb-24 5:20 
GeneralI was sent this, and... Pin
OriginalGriff3-Feb-24 2:45
mveOriginalGriff3-Feb-24 2:45 
GeneralRe: I was sent this, and... Pin
Nelek3-Feb-24 11:10
protectorNelek3-Feb-24 11:10 
GeneralRe: I was sent this, and... Pin
BernardIE53173-Feb-24 11:52
BernardIE53173-Feb-24 11:52 
GeneralRe: I was sent this, and... Pin
Graeme_Grant3-Feb-24 14:25
mvaGraeme_Grant3-Feb-24 14:25 
GeneralRe: I was sent this, and... Pin
MarkTJohnson4-Feb-24 3:24
professionalMarkTJohnson4-Feb-24 3:24 
GeneralIf you give a man a fish ... Pin
OriginalGriff3-Feb-24 0:50
mveOriginalGriff3-Feb-24 0:50 
GeneralRe: If you give a man a fish ... Pin
Ron Anders3-Feb-24 2:45
Ron Anders3-Feb-24 2:45 
GeneralRe: If you give a man a fish ... Pin
PIEBALDconsult3-Feb-24 4:45
mvePIEBALDconsult3-Feb-24 4:45 
GeneralRe: If you give a man a fish ... Pin
trønderen3-Feb-24 6:41
trønderen3-Feb-24 6:41 
GeneralRe: If you give a man a fish ... Pin
dandy723-Feb-24 10:10
dandy723-Feb-24 10:10 
GeneralRe: If you give a man a fish ... Pin
MarkTJohnson4-Feb-24 3:26
professionalMarkTJohnson4-Feb-24 3:26 
GeneralWordle 959 Pin
Sandeep Mewara2-Feb-24 14:34
mveSandeep Mewara2-Feb-24 14:34 
GeneralRe: Wordle 959 Pin
Amarnath S2-Feb-24 19:03
professionalAmarnath S2-Feb-24 19:03 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.