Component: Modified Moving Average 16-bit (Calculation)
From Flowcode Help
Jump to navigationJump to search
Author | Matrix TSL |
Version | 1.0 |
Category | Calculation |
Contents
Modified Moving Average 16-bit component
Allows a value from a sensor to be averaged out filtering out high frequencies and removing noise. Modified moving average means we maintain a sum of the last n number of samples. On each new sample we subtract the previous result and then add in the latest raw sample.
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
Macro reference
Filter
![]() |
Filter |
Performs the filtering function, passing in the latest sampled value and outputting the latest filtered value. | |
![]() |
Value |
![]() |
Return |
InitialiseFilter
Property reference
![]() |
Properties |
Component Source Code
Please click here to download the component source project: FC_Comp_Source_ModifiedMovingAverage.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_ModifiedMovingAverage.fcfx