Applying Functions to Observation Buffers

When observing buffered data, it can be useful to perform a function on that data and observe the result of that function rather than simple observing that most recent value observed. Octave provides functions to calculate the minimum, maximum, average, and standard deviation across all of values in the buffer.

The steps below build on the buffer configured in Buffering Data , to illustrate how to set up a function to calculate the average value of the buffer:

  1. Edit the Observation created in Buffering Data.
  2. Locate the Buffer events option and set Buffer function to Mean.
  3. Click Save to complete the modification to the Observation.

What’s Next