- Load the signal data from the text file using the ‘load’ function
- Specify the cutoff frequencies (c1 and c2) in hz, the sampling frequence and the order of the filter, and design the filters using the ‘butter’ and the ‘cheby’ functions.
- Use the ‘filter’ function to apply the designed filters to the signal.
- Butterworth filter: https://www.mathworks.com/help/signal/ref/butter.html#bucse3u-3
- Chebyshev type 1 filter: https://www.mathworks.com/help/signal/ref/cheby1.html
- IIR filter design: https://www.mathworks.com/help/signal/ug/iir-filter-design.html
- Filter function: https://www.mathworks.com/help/matlab/ref/filter.html