Construct a periodic signal with the main frequencies 0.1 Hz, 2 Hz, 4 Hz, 12 Hz, 18.3 Hz, which was sampled with 50 Hz over a time range of 20.48 s.
For the required application, only the frequencies in the range 0.5 – 5 Hz are interesting. Implement a suitable digital filter in native C which removes all superfluous frequencies from the given signal.
Compare the results of different filters with the filter orders 2, 4 and 6.