Skip to main content
added 61 characters in body
Source Link
Jan-Bert
  • 335
  • 4
  • 17

The answer i give is probably partly help full.
What you can do is when you have a pre stored STD and a MEAN(N samples long). Than duringWhile running the real time proces update the savedstored MEAN (Array.
Create an array of you mean value) by adding. During the loop add every timecycle a sample to your array and remove the oldest one you. You create a kind of circular pattern. After N samples your MEAN is only the MEAN from your data.
Do the same with the STD.

Maybe you can create a different MEAN and STD from different types of data so the error is less worse

Good Luck

The answer i give is probably partly help full.
What you can do is when you have a STD and a MEAN. Than during the real time proces update the saved MEAN (Array of you mean value) by adding every time a sample to your array and remove the oldest one you create a circular pattern. After N samples your MEAN is only the MEAN from your data.
Do the same with the STD.

Maybe you can create a different MEAN and STD from different types of data so the error is less worse

Good Luck

The answer i give is probably partly help full.
What you can do is when you have a pre stored STD and MEAN(N samples long). While running the real time proces update the stored MEAN.
Create an array of you mean value. During the loop add every cycle a sample to your array and remove the oldest one. You create a kind of circular pattern. After N samples your MEAN is only the MEAN from your data.
Do the same with the STD.

Maybe you can create a different MEAN and STD from different types of data so the error is less worse

Good Luck

Source Link
Jan-Bert
  • 335
  • 4
  • 17

The answer i give is probably partly help full.
What you can do is when you have a STD and a MEAN. Than during the real time proces update the saved MEAN (Array of you mean value) by adding every time a sample to your array and remove the oldest one you create a circular pattern. After N samples your MEAN is only the MEAN from your data.
Do the same with the STD.

Maybe you can create a different MEAN and STD from different types of data so the error is less worse

Good Luck