Assignment 2
Assignment 2
SIGNAL PROCESSING
A signal which is a mixture of three signals is sampled with a sampling rate of 1kHz. The
signal is then put through a system (see figure above) in order to breakdown the signal into its
three separate frequency components. By using Matlab, you need to design and implement the
filters needed to carry out this job.
1. Import the data given to you in the file Group 'Number'.xlsx into the Matlab
Workspace and assign the signal data as “x”. Plot the data using ‘plot’ command.
2. Using Matlab command, create the amplitude spectrum diagram of the signal. [6 mark]
3. State the amplitude and frequency of each signal component in x.[6 marks]
4. Build the system in figure above in the “new model” window in the Matlab Simulink.
5. From the amplitude spectrum diagram of the signal, determine the parameters to design
the lowpass filter to extract low frequency signal. Use Butterworth approximation.
6. From the amplitude spectrum diagram of the signal, determine the parameters to design
the bandpass filter to extract middle frequency signal. Use Butterworth approximation.
7. From the amplitude spectrum diagram of the signal, determine the parameters to design
the highpass filter to extract high frequency signal. Use Butterworth approximation.
11. By comparing both type of filters, from your observation, which type of filter is less
complex for the same specification requirements? [1 mark]