**Digital Filters**

When an Embedded system reads data from sensor, someting

## EMA Algorithm

The Exponential Moving Average (EMA) is one of the most used indicators in technical analysis today.

**Formula**

Where

is the result of the EMA at time**S**_{t}**t**is the measurement from the sensor at time**m**_{t},**t**is a coefficient in the range**α****<0,1>**that decides how many samples the EMA algorithm should take into account.- A low
will be very slow to rapid input changes and takes many samples into account.**α** - A high
will be fast, but the average over fewer samples.**α**

- A low

The most common way to initialize

Reference

- Wikipedia - Moving Average: https://en.wikipedia.org/wiki/Moving_average