Discretion and Digital Filters: The signal provided in the file HW7.dat was samp

Photo of author

By admin

Discretion and Digital Filters:
The signal provided in the file HW7.dat was sampled at a rate of 2000 S/s. The signal is composed of several frequency components. For your solutions, all plots must be clearly labelled. Read in the provided file (HW7.dat) and plot the time signal. Calculate its DFT and plot the results. The file is in ‘ASCII’ text format and can be read using Matlab’s load() function.
Write Butterworth digital filters that can reliably extract the components of the signal as described below. Use either non-object or object-oriented approaches e.g. “butter()/filter()” or “fdesign/desgin()/filter()” Matlab functions. You can decide on the order and cutoff frequencies of the filters that would best achieve your goals. Reliably means that the signals of interest do not lose amplitude and none of the undesired signals remain (present) after filtering (not even a small visible amplitude).
i. Extract and keep the low frequency components and plot the DFT of the resulting signal.
ii. Extract and keep the mid-range frequency components and plot the DFT of the resulting signal.
iii. Extract and keep the high frequency components and plot the DFT of the resulting signal.
iv. Filter out and remove the mid-range frequency components and plot the DFT of the resulting signal.**** PLEASE PROVIDE FULL CODE AND PLOTS