File Exchange

image thumbnail

Detect a stable set of values in streaming data

version 1.0.2 (17.8 KB) by MS
This function calculates the average of a set of values that has a Mean Absolute Error less than a certain threshold.

1 Download

Updated 25 Jul 2020

View Version History

GitHub view license on GitHub

This function calculates the average of a set of values that has a Mean Absolute Error less than a certain threshold. It could be used to detect a stable array of values once it arrives in steaming data. It uses a sliding window, calculating the mean absolute error after receiving each new value and stops when the MAE matches a threshold condition. If a certain number of values was received and none matched the condition, it finds the average of the window that showed the minimum Mean Absolute Error.

Cite As

MS (2021). Detect a stable set of values in streaming data (https://github.com/MSH19/Streaming-detect-stable), GitHub. Retrieved .

Comments and Ratings (0)

MATLAB Release Compatibility
Created with R2018a
Compatible with R2018a and later releases
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!