Measurement Systems
Problem Set #2
Due: Thurs., Esfand 30th
1.6
Problem 1. The impulse response of an LTI system is shown here. 1.4
1.2
a. Find the response of this system to a unit step input using
1
0.8
convolution sum. 0.6
h(n)
b. Use MATLAB conv command to find the response 0.4
and compare it with the results obtained in a. 0.2
-0.2
-0.4
Problem 2. Compute the discrete-time Fourier transform of the following signals.
a) x[n] = (¼)nu[n]
b) x[n] as shown in Figure
Problem 3. Data points of a sampled signal are shown below:
x = [0, 0.4045, 0.4755, 0.1545, -0.2939, -0.5000, -0.2939, 0.1545, 0.4755, 0.4045, 0, -0.4045]
a. Compile matrix DN and calculate the DFT transformation.
b. Calculate the magnitude of the DFT of the signal.
c. Use MATLAB fft function to calculate the DFT and compare it with the result you obtained in part b.
Problem 4. The signal shown below has been sampled with
sampling frequency of Fs = 1k Hz:
a. Calculate and plot the frequency spectrum of the
signal.
b. Identify the frequency and amplitude of the main
component.
c. Apply Hanning window to the signal and recalculate
the spectrums. Compare the result with those from a.
Hint:
1. You may use MATLAB functions: fft for
calculating DFT and hann function for windowing.
2. Use the accompanying [Link] file for the raw data.
3. Include your MATLAB code.