Beruflich Dokumente
Kultur Dokumente
1 1
1 () = { , , },
4 2
2 ()
()
1 ()
3 ()
4 ()
()
2.
3.
Using the DSK, determine the response of the system () = (), || < 1, when the
input is a unit step sequence. Plot the response for = 5 to 20.
4.
Using Matlab, make a comparison between circular convolution and linear convolution:
Given 1 [] = {1, 1, 2,3, 1} and 2 [] = {1,2,3}, find the linear and circular
convolution of 1 [] and 2 []
5.
Using DSK, obtain the impulse response for the system function given by
1
1 + z 1
4
H (z) =
.
1 1
1
1
(1 + 2 z ) (1 + 2 z 1 + 4 z 2 )
6.
7.
8.
9.
b. Find a sequence that has a DFT [] = 10 [], where [] is the 10point DFT of [].
Design a high-pass FIR with the following specifications:
Stopband: 0 to 1500 Hz
Passband: 2500 to 4000 Hz
Stopband attenuation: 40dB
Passband ripple: 0.1dB
Sampling rate: 8000 Hz
Plot the filter response and determine the filter characteristics using DSK.
10. In matlab, using the Bilinear transformation method, design a type I low pass Chebyshev filter
operating at a sampling rate of 9kHz that has a 0.8dB ripple in the passband, passband frequency
of 2.2kHz, a stopband frequency of 3kHz and stopband attenuation of 40 dB or more.
11. In a speech recording system, the speech is recorded in a noisy environment at a sampling
rate of 8000 Hz. The recorded speech contains information within 1800 Hz. The allowable
passband ripple is 0.02dB and the stopband attenuation must be atleast 50dB. Transition
band of 200 Hz is allowed. Use DSK to remove noise.
12. Using Matlab, design a digital filter H(z) that when used in an A/D-H(z)-D/A structure gives an
equivalent analog filter with the following specifications:
Passband ripple 3.01 dB,
Passband edge = 500 Hz,
Stopband attenuation 15 dB,
Stopband edge=750 Hz,
Sampling Rate = 2 kHz.
The filter is to be designed by performing a bilinear transformation on an analog system function.
Use Butterworth Prototype.
13. Given the sequence () = [1,2,3,4]. Find the sequence () whose DFT is given by
() = [()] where [()] refers to the imaginary part of () and the
frequency resolution of () is /3. Use DSK to solve for ().
14. Design a high-pass FIR with the following specifications:
Stopband: 0 to 1500 Hz
Passband: 2500 to 4000 Hz
Stopband attenuation: 40dB
Passband ripple: 0.1dB
Sampling rate: 8000 Hz
Plot the filter response and determine the filter characteristics using DSK.
1a.
1b.
2a.
Using Matlab, plot the impulse response of the combined system, () for = 5 to 20
1 1
if 1 () = { , , }, 2 () = 3 () = ( + 1)() and 4 () = ( 2), given
4 2
2 ()
).
()
1 ()
3 ()
4 ()
()
2b.
Given the sequence () = [1,2,3,4]. Find the sequence () whose DFT is given by
() = [()] where [()] refers to the imaginary part of () and the
frequency resolution of () is /3. Use DSK to solve for ().
3a.
Consider
the
analog
signal
() = 3 cos(2000) + 5 sin(6000) +
10cos(12000). Sketch the discrete time signal after sampling with
i)
= 5000 . Comment on the result.
ii)
> Nyquist rate. Comment on the result.
Using the DSK, determine the response of the system () = 4(0.5) () +
2(0.2) (), when the input is a unit step sequence. Use parallel realization of first order
to realize the filter. Plot the response for = 5 to 20.
3b.
4a.
A long sequence [] is filtered through a filter with impulse response [] to yield the
output []. If [] = {1,2}, [] = {1,4,3,0,7,4, 7, 7, 1,3,4,3}, compute [] using
the overlap-add method. Use only a 5-point circular convolution.
4b.
Using DSK, determine the response [], 2 20 of the system described by the
second-order difference equation [] [ 1] + [ 2] = [ 3] when the
input
is
[] = ([] [ 4])
and
the
initial
conditions
are [1] = 2, [2] = 1.
5a.
( ) , 0 4
Consider a system with impulse response () = { 2
. Determine the input
0,
()
for
08
that
will
generate
the
output
sequence
(
)
= {1,2,2.5,3,3,3,2,1,0, }
5b.
A low-pass FIR causal filter is to be designed with the following desired frequency response:
ej25 , 4 4
j
Hd (e ) = {
. Plot the filter coefficients h[n], if a rectangular window of
||
0,
<
4
length 51 is used. Plot the magnitude spectrum of the filter using DSK.
6a.
6b.
7a.
Using the frequency domain approach, device a matlab function to determine a circular
shift (( 3)8 ), given an N point sequence, () = {1,2,3,4,5,6,7,8}.
7b.
8a.
8b.
sampled at frequency 1000Hz and spectrum analysed. If 8 samples of the signal [] are
used for determining DFT [], plot the magnitude and phase response. Determine the
change in spectrum i) if [] is multiplied by the sequence ii) if amplitude of []
is doubled.
Use the DSK for implementing the above.
9a.
Using Matlab, obtain the impulse response for the system function given by
13z4
H(z) = (10.2z1 )(1+0.6z1 ).Realize the function as cascade of two second-order systems.
9b.
Plot the spectrum of a signal taken from signal generator using DSK. Let the sampling
frequency be 48 kHz.
10a. In matlab, using the Bilinear transformation method, design a type I low pass Chebyshev filter
operating at a sampling rate of 9kHz that has a 0.8dB ripple in the passband, passband frequency
of 2.2kHz, a stopband frequency of 3kHz and stopband attenuation of 40 dB or more.
10b. Using DSK, obtain the impulse response for the system function given by
H(z) =
1
4
1+ z1
1
2
1
2
1
4
(1+ z1 )(1+ z1 + z2 )
systems.
11a. Compute the 2-point IDFT of () in terms of (), where () is the -point IDFT
of
the
sequence
( ), 0 1
and
(2), even
( ) = {
, 0 2 1. Take () = {1,2,3,4,5,6,7,8}
0,
odd
11b. In a speech recording system, the speech is recorded in a noisy environment at a sampling
rate of 8000 Hz. The recorded speech contains information within 1800 Hz. The allowable
passband ripple is 0.02dB and the stopband attenuation must be atleast 50dB. Transition
band of 200 Hz is allowed. Use DSK to remove noise.
12a. Using Matlab, design a digital filter H(z) that when used in an A/D-H(z)-D/A structure gives an
equivalent analog filter with the following specifications:
Passband ripple 3.01 dB,
Passband edge = 500 Hz,
Stopband attenuation 15 dB,
Stopband edge=750 Hz,
Sampling Rate = 2 kHz.
The filter is to be designed by performing a bilinear transformation on an analog system function.
Use Butterworth Prototype.
frequency response
0, 0 || 8
() =
8
3
1, < || <
of
an
ideal
bandpass
filter
is
given
by
0, ||
{ 8
Determine its impulse response using matlab.
13b. Using DSK, find the auto-correlation of the signal () = 4 sin (2 ) and show that at zero
36
shift, the value of the autocorrelation is the signal power.
14a. In Matlab, generate two vectors, 1 and 2 using the following code fragment. 1 =
(1,100) and 2 = (1,100). Determine the cross correlation of the two signals and
plot.
A long sequence [] is filtered through a filter with impulse response [] to yield the
output []. If [] = {1,2}, [] = {1,4,3,0,7,4, 7, 7, 1,3,4,3}, compute [] using
the overlap-save method. Use only a 5-point circular convolution.
1b.
A low-pass FIR causal filter is to be designed with the following desired frequency response:
ej25 , 4 4
j
Hd (e ) = {
. Plot the filter coefficients h[n], if a rectangular window of
||
0,
<
4
length 51 is used. Plot the magnitude spectrum of the filter using DSK.
2a.
Using Matlab, plot the impulse response of the combined system, () for = 5 to 20
1 1
if 1 () = { , , }, 2 () = 3 () = ( + 1)() and 4 () = ( 2), given
4 2
2 ()
()
1 ()
3 ()
2b.
3a.
3b.
4 ()
()
Using DSK, determine the response [], 2 20 of the system described by the
second-order difference equation [] [ 1] + [ 2] = [ 3] when the
input
is
[] = ([] [ 4])
and
the
initial
conditions
are [1] = 2, [2] = 1.
Consider
the
analog
signal
() = 3 cos(2000) + 5 sin(6000) +
10cos(12000). Sketch the discrete time signal after sampling with
iii)
= 5000 . Comment on the result.
iv)
> Nyquist rate. Comment on the result.
Design a high-pass FIR with the following specifications:
Stopband: 0 to 1500 Hz
Passband: 2500 to 4000 Hz
Stopband attenuation: 40dB
Passband ripple: 0.1dB
Sampling rate: 8000 Hz
Plot the filter response and determine the filter characteristics using DSK.
2
4a.
4b.
5a.
( ) , 0 4
Consider a system with impulse response () = { 2
. Determine the input
0,
()
for
08
that
will
generate
the
output
sequence
() = {1,2,2.5,3,3,3,2,1,0, }
Given the sequence () = [1,2,3,4]. Find the sequence () whose DFT is given by
() = [()] where [()] refers to the imaginary part of () and the
frequency resolution of () is /3. Use DSK to solve for ().
5b.
).
6a.
6b.
7a.
Using the frequency domain approach, device a matlab function to determine a circular
shift (( 5)10 ), given an N point sequence, () = {5,6,9,2,4,0,4,1,4,9}.
7b.
, 0 < <
Design a length-25 digital filter () = {
using a Hamming window. Plot
, < < 0
magnitude spectrum using DSK.
8a.
8b.
9a.
Using Matlab, obtain the impulse response for the system function given by
13z4
H(z) = (10.2z1 )(1+0.6z1 ).Realize the function as cascade of two second-order systems.
9b.
10a. In matlab, using the Bilinear transformation method, design a type I low pass Chebyshev filter
operating at a sampling rate of 9kHz that has a 0.8dB ripple in the passband, passband frequency
of 2.2kHz, a stopband frequency of 3kHz and stopband attenuation of 40 dB or more.
10b. Using DSK, obtain the impulse response for the system function given by
H(z) =
1
4
1+ z1
1
2
1
2
1
4
(1+ z1 )(1+ z1 + z2 )
systems.
11a. Compute the 2-point IDFT of () in terms of (), where () is the -point IDFT
of
the
sequence
( ), 0 1
and
(2), even
( ) = {
, 0 2 1. Take () = {1,2,3,4,5,6,7,8}
0,
odd
11b. Using DSK, make a comparison between circular convolution and linear convolution:
Given 1 [] = {1, 1, 2,3, 1} and 2 [] = {1,2,3}, find the linear and circular
convolution of 1 [] and 2 []
12a. Using Matlab, design a digital filter H(z) that when used in an A/D-H(z)-D/A structure gives an
equivalent analog filter with the following specifications:
Passband ripple 3.01 dB,
Passband edge = 500 Hz,
Stopband attenuation 15 dB,
Stopband edge=750 Hz,
Sampling Rate = 2 kHz.
The filter is to be designed by performing a bilinear transformation on an analog system function.
Use Butterworth Prototype.
12b. Using DSK, find the auto-correlation of the signal () = 4 sin (2 ) and show that at zero
36
shift, the value of the autocorrelation is the signal power.
frequency response of an ideal bandpass
0, 0 ||
13a. The
() =
1, 8 < || <
3
filter
is
given
by
8
3
8
||
0,
{ 8
Determine its impulse response using matlab.
13b. A co-sinusoidal signal of frequency 100 Hz, amplitude of 3 and phase of
radians is
sampled at frequency 1000Hz and spectrum analysed. If 8 samples of the signal [] are
used for determining DFT [], plot the magnitude and phase response. Determine the
change in spectrum i) if [] is multiplied by the sequence ii) if amplitude of []
is doubled.
Use the DSK for implementing the above.
14a. In Matlab, generate two vectors, 1 and 2 using the following code fragment. 1 =
(1,100) and 2 = (1,100). Determine the cross correlation of the two signals and
plot.
1a.
1b.
2a.
Using
Matlab,
1 2 5
plot
()
for
= 5
to
20
1 1
1 () = { , , },
if
4 2
1 ()
3 ()
2b.
3a.
3b.
4 ()
()
Read samples of a sinusoid using ADC in DSK and send alternate samples to DAC output.
Use this program to demonstrate aliasing. Comment on your result.
Using the DSK, determine the response of the system () = (), || < 1, when the
input is a unit step sequence. Plot the response for = 5 to 20.
4a.
Using Matlab, make a comparison between circular convolution and linear convolution:
Given 1 [] = {1, 1, 2,3, 1} and 2 [] = {1,2,3}, find the linear and circular
convolution of 1 [] and 2 []
4b.
Using DSK, obtain the impulse response for the system function given by
1
1 + 4 z 1
H (z) =
.
1 1
1 1 1 2
(1 + 2 z ) (1 + 2 z + 4 z )
5a.
Generate a signal as sum of two sine waves of amplitude 5 V and 2 V and frequency 100
Hz and 2000 Hz. Design a suitable IIR filter that will attenuate the high frequency
component atleast by 30 dB. Apply the signal to the filter and plot the output.
5b.
6a.
6b.
7a.
h. Find a sequence that has a DFT [] = 10 [], where [] is the 10point DFT of [].
Design a length-25 digital Hilbert transformer using a Hamming window.
Using the frequency domain approach, device a matlab function to determine a circular
shift (( 3)8 ), given an N point sequence, () = {1,2,3,4,5,6,7,8}.
7b.
8a.
8b.
Using DSP board implement an FIR band stop filter for lower cut off frequency 1 KHz,
upper cut off frequency 2 KHz. Sampling frequency is 16 KHz.
Amplitude modulate a 15 KHz carrier signal with a modulating frequency of 2 KHz. Plot
the waveform using MATLAB. Obtain the spectra of the modulated waveform.
9a.
Write a modified linear convolver, conv_m (x, nx, y, ny) that produces the total result of
linear convolution between two sequences x and y.
9b.
Plot the spectrum of a given real-time signal using DSK. Let the sampling frequency be
48 kHz.
10a. In matlab, using the Bilinear transformation method, design a type I low pass Chebyshev filter
operating at a sampling rate of 9kHz that has a 0.8dB ripple in the passband, passband frequency
of 2.2kHz, a stopband frequency of 3kHz and stopband attenuation of 40 dB or more.
10b. Using DSK, determine the response [], 2 20 of the system described by the
second-order difference equation [] [ 1] + [ 2] = [ 3] when the
input
is
[] = ([] [ 4])
and
the
initial
conditions
are [3] = 2, [4] = 1.
11a. Compute the 2-point IDFT of () in terms of (), where () is the -point IDFT
of
the
sequence
( ), 0 1
and
(2), even
( ) = {
, 0 2 1. Take () = {1,2,3,4,5,6,7,8}
0,
odd
11b. In a speech recording system, the speech is recorded in a noisy environment at a sampling
rate of 8000 Hz. The recorded speech contains information within 1800 Hz. The allowable
passband ripple is 0.02dB and the stopband attenuation must be atleast 50dB. Transition
band of 200 Hz is allowed. Use DSK to remove noise.
12a. Using Matlab, design a digital filter H(z) that when used in an A/D-H(z)-D/A structure gives an
equivalent analog filter with the following specifications:
Passband ripple 3.01 dB,
Passband edge = 500 Hz,
Stopband attenuation 15 dB,
Stopband edge=750 Hz,
Sampling Rate = 2 kHz.
12b. Given the sequence () = [1,2,3,4]. Find the sequence () whose DFT is given by
() = [()] where [()] refers to the imaginary part of () and the
frequency resolution of () is /3. Use DSK to solve for ().
13a. The
frequency response
0, 0 || 8
() =
1, 8 < || <
3
of
an
ideal
bandpass
filter
is
given
by
3
8
0, ||
{ 8
Determine its impulse response using matlab.
13b. Using DSK, find the auto-correlation of the signal () = 4 sin (2 ) 2cos(2 ) and show
36
40
14a.
that at zero shift, the value of the autocorrelation is the signal power.
Consider the discrete-time system given by the difference equation () = () 4 ( 1) +
3 ( 2) + 1.7( 1) ( 2). Using matlab, plot the impulse response of the system. Is
the system stable?
[ ] =
{1,6,0,3,5,8,9,2}
15b. Using DSK, make a comparison between circular convolution and linear convolution:
Given 1 [] = {1, 1, 2,3, 1} and 2 [] = {1,2,3}, find the linear and circular
convolution of 1 [] and 2 []