DSP Revision 2022-2023
DSP Revision 2022-2023
EXAM SAMPLES
MODEL 1:
II. A signal, given by x(t) = 2 cos(3πt), is sampled at a frequency of 20 Hz, starting at time t = 0.
(a) Is the signal sampled frequently enough? (Hint: 'aliasing')
(b) Find the first six samples of the sequence.
(c) Given that the sampled signal is represented by x[n], how could the above signal,
delayed by four sample periods, be represented? [5 Marks]
Ans:
Ans:
Noise types:
White noise: it takes mix of frequencies to make static sound. For example: AC condition
and Fan 2)
Pink noise: frequency is stable and low wave and deep. For example: Constant raining
Noise Applications:
J = wiener2(I,[m n],noise)
Are optimal in that they minimize the mean squared estimation error
II. A music recording was noised with broadband background (white) noise. This noise spread
upon the entire spectrum of the music, and is therefore very unpleasant. Suppose a filter
design to reduce noise from the speech, with all discussion needed. [4 Marks]
Ans:
Wiener filter block diagram:
J = wiener2(I,[m n],noise)
Are optimal in that they minimize the mean squared estimation error
III. De-noising is one of the major applications of the wavelet analysis for one dimensional
signals. Discuss briefly. [2 Marks]
Ans:
• Extracts information from images in different scale and resolutions
• Compress images without losing important information for analyzing data
• Provides good & fast performance in object recognition task
• Used for medical application & Satellite images for EDGE Detection task
• One-dimensional Signal Enhancement, Acoustic, speech, music and electrical transient
signals
IV. De-noise the signal fNoisy using the sym4 and db1 wavelets, with a nine-level wavelet
decomposition. Plot the results & compute SNR. [3 Marks]
Ans:
Signal de-noising needs more levels of decomposition. Here the level of decomposition is
four. In wavelet analysis, the approximate sub band contains the low frequency
components called signal component and detail sub band contains the high frequency
components made of noise.
I. The output sequence, y[n], from a recursive filter, is related to its input sequence, x[n]
Draw the block diagram for this filter, in the z-domain, and find its transfer function. Use the transfer
function to find the filter's response to a unit sample sequence (first 4 terms only).
Ans:
II. Find the transfer function for the processor shown in figure below [3 Marks]
Ans:
Y(z) = X(z) -0.4x[n-1] + y[n-2] + 0.5
Finite Impulse Response (FIR) “No Feedback” Infinite Impulse Response (IIR) “Require Feedback”
Implemented non recursively Implemented recursively
h
MODEL 2:
Question 1:
I. Select the right answer
1. If x(n) is a discrete-time signal, then the value of x(n) at non integer value of ‘n’ is:
a. Not defined b. Zero
c. Positive d. Negative
2. The discrete time function defined as u(n)=n for n=0; =0 for n
a. Unit sample signal b. Unit step signal
3. Which of the following should be done to convert a continuous-time signal to a discrete signal?
a. Sampling b. Differentiating
a. Sampling b. Quantization
a.
b.
c.
d.
Ans:
The FFT is a highly elegant and efficient, algorithm, which is still one of the most used algorithms in DSP.
Discuss, & Give MatLab example.
Ans:
Fast Fourier Transform (FFT) is a highly improved implementation of Discrete Fourier Transform (DFT),
which converts discrete signals from the time domain to the frequency domain.
FFT calculations provide information about the frequency content, phase, and other characteristics of the
signal.
- r = imread(‘lenna.gif’);
- figure,imshow(r)
- F = fft2(r);
- S = fftshift(log(1+abs(F)));
- figure,imshow(S, [])
- img = imread('cameraman.tif');
- f = fft2(double(img));
- figure ;
- imshow(img);
- title ('Original Image')
- figure ;
- imshow(abs(fftshift(f)), [24 10000])
- title ('Magnitude Image') –
figure ;
- imshow(angle(fftshift(f)), [-pi pi])
- title ('Phase Image')
11. The _________ filters are always bounded and hence they are inherently stable.
On the other hand, the _________ filter may become unstable if not designed properly
a) FIR , IIR
b) IIR , FIR
c) Stopband , passband
d) None of the above
12. The similarity between the Fourier transform and the z transform is that
a) Both convert frequency spectrum domain to discrete time domain
b) Both convert discrete time domain to frequency spectrum domain
c) Both convert analog signal to digital signal
d) Both convert digital signal to analog signal