BasicCalculus

Simple library to approximate 1-dimensional calculus operations in real time. It uses an alpha-beta filter to smoothen and numerically differentiate a variable. The library can also integrate the variable should one choose to. Note the library relies on polling to provide a continuously changing variable to refresh the calculus operations.

image

Other

For the sake of simplicity and to reduce memory use, the library uses micros() to update the timestep. This step is shared by all instances of alpha-beta filter.

References:

Code

https://github.com/RCmags/basicCalculus