Vous êtes sur la page 1sur 6

NPTEL Online Certification Courses

Indian Institute of Technology Kharagpur

Biomedical Signal Processing


Assignment- Week 12
TYPE OF QUESTIONS: MCQ/MSQ
Number of questions: 10 Total mark: 10 X 1 = 10
______________________________________________________________________________

QUESTION 1:
The signal ‘y’ is defined by the following MATLAB code:
fs = 1000;
t = 0:(1/fs):1;
s1 = sin(2*pi*1*t);
s2 = sin(2*pi*10*t);
y = s1+s2;

Find the envelogram of the signal ‘y’.


How many prominent peaks are present in the Envelogram of the signal ‘y’?
a. 1
b. 5
c. 0
d. 10
Correct answer: d
Detailed solution:
% Use following MATLAB code
clc;
clear;
close all;

fs = 1000;
t = 0:(1/fs):1;
s1 = sin(2*pi*1*t);
s2 = sin(2*pi*10*t);
y = s1+s2;
L = length(y);
NFFT = 2^nextpow2(L);
L2 = length(NFFT/2+2:NFFT);
aa = fft(y,NFFT)/NFFT;
NPTEL Online Certification Courses
Indian Institute of Technology Kharagpur

bb = [(aa(1)) (aa(2:NFFT/2+1))*2 zeros(1,L2)];


envg_S = abs(ifft(bb));
figure;
subplot(2,1,1);
plot(t,y); ylabel('Signal'); ylim([-1 1]); axis tight;
subplot(2,1,2);
plot(t,envg_S(1:L)); ylabel('Envelogram'); axis tight;
______________________________________________________________________________

QUESTION 2:
How the situation of unequal signal duration from one beat to another beat is handled while
deriving the average Envelogram of PCG signal using multiple beats?
a. Signals are clipped to the length of minimum length signal
b. Zeros are appended in the signal to make all the signals of same size of the
maximum length signal
c. Signal lengths made equal using interpolation
d. None of these
Correct answer: b
Detailed solution:
Refer slide no. 80 of Tutorial 4.5
______________________________________________________________________________

QUESTION 3:
Which of the following statement(s) is(are) true for Envelograms?
a. Average Envelogram is smoother than the individual Envelogram
b. Individual Envelogram is smoother than the average Envelogram
c. Envelogram is obtained using the half-wave rectification of the input signal
d. None of these
Correct answer: a
Detailed solution:
Refer slide no. 80 of Tutorial 4.5
_____________________________________________________________________________

QUESTION 4:
NPTEL Online Certification Courses
Indian Institute of Technology Kharagpur

Find the form factor for the signal ‘y’ given by the following MATLAB code:
t = 0:0.001:1;
a1 = sin(2*pi*1*t);
a2 = sin(2*pi*10*t);
y = 0.8*a1+0.2*a2;
a. 3.55
b. 1
c. 10.21
d. 0
Correct answer: a
Detailed solution:
% Use following MATLAB code
t = 0:0.001:1;
a1 = sin(2*pi*1*t);
a2 = sin(2*pi*10*t);
y = 0.8*a1+0.2*a2;
sig = y;

sig_d = diff(sig);% First derivative

var1 = var(sig);%Signal variance


var2 = var(sig_d);%Variance of first derivative
var2d = var(diff(sig_d));%Variance of second derivative
Mx = sqrt(var2/var1);
Mxd = sqrt(var2d/var2);
FF = Mxd / Mx
______________________________________________________________________________

QUESTION 5:
What is the mean frequency of PSD of the signal ‘y’ generated using following MATLAB code?
fs = 1000;
t = 0:(1/fs):1;
s1 = sin(2*pi*1*t);
s2 = sin(2*pi*10*t);
y = s1+s2;
a. 5.12
NPTEL Online Certification Courses
Indian Institute of Technology Kharagpur

b. 10.13
c. 5.49
d. 15.50
Correct answer: c
Detailed solution:
% Use the following MATLAB code
clc;
clear;
close all;

fs = 1000;
t = 0:(1/fs):1;
s1 = sin(2*pi*1*t);
s2 = sin(2*pi*10*t);
y = s1+s2;

L1 = length(y);
y_fft = fft(y);
y_psd = abs(y_fft).^2;
E1 = sum(y_psd); % Total energy of signal
f1 = fs*(0:(1/length(y)):1-(1/length(y)));
mean_freq = (2/E1)*sum(f1(1:L1/2).*y_psd(1:L1/2))

____________________________________________________________________________

QUESTION 6:
What is the variance (second central moment) of PSD of the signal ‘y’ generated using following
MATLAB code?
fs = 1000;
t = 0:(1/fs):1;
s1 = sin(2*pi*1*t);
s2 = sin(2*pi*10*t);
y = s1+s2;
a. 10.36
b. 15.26
c. 5.49
d. 20.36
Correct answer: d
Detailed solution:
NPTEL Online Certification Courses
Indian Institute of Technology Kharagpur

% Use the following MATLAB code


clc;
clear;
close all;

fs = 1000;
t = 0:(1/fs):1;
s1 = sin(2*pi*1*t);
s2 = sin(2*pi*10*t);
y = s1+s2;

L1 = length(y);
y_fft = fft(y);
y_psd = abs(y_fft).^2;
E1 = sum(y_psd); % Total energy of signal
f1 = fs*(0:(1/length(y)):1-(1/length(y)));
mean_freq = (2/E1)*sum(f1(1:L1/2).*y_psd(1:L1/2));
var_freq = (2/E1)*sum(((f1(1:L1/2)-mean_freq).^2).*y_psd(1:L1/2))

_____________________________________________________________________________

QUESTION 7:
Which of the following statement(s) is(are) true for voiced and unvoiced signals?
a. RMS value of voiced signal is more than the unvoiced signal
b. Zero crossing rate of voiced signal is more than the unvoiced signal
c. PSD of voiced signals has peaks at certain frequencies
d. No prominent peaks are present in the PSD of unvoiced signals
Correct answer: a, c, d
Detailed solution:
Refer slide nos. 36 and 46 of Tutorial 5.3

______________________________________________________________________________

QUESTION 8:
Which of the following statement(s) is(are) true for PSD of the signal?
a. The average PSD obtained using multiple segments of the signal is smoother
than the PSD of the complete signal
b. As the number of segments used to obtain the average PSD increases, the
average PSD becomes more smooth
c. As the number of segments used to obtain the average PSD decreases, the
average PSD becomes more smooth
NPTEL Online Certification Courses
Indian Institute of Technology Kharagpur

d. Frequency resolution of PSD is independent of the width of the window


Correct answer: a, b
Detailed solution:
Refer slide nos. 99 of Tutorial 5.5

______________________________________________________________________________

QUESTION 9:
What is the 8-point FFT of the signal x(n)= {1,-1,1,-1,1,-1,1,-1}?
a. {8, 0, 0, 0, 0, 0, 0, 0}
b. {0, 0, 0, 0, 8, 0, 0, 0}
c. {0, 0, 0, 0, 0, 0, 0, 8}
d. {0, 0, 8, 0, 0, 0, 0, 0}
Correct answer: b
Detailed solution:
% Use the following MATLAB code
x = [1 -1 1 -1 1 -1 1 -1];

fft(x)

____________________________________________________________________________

QUESTION 10:
For patients with pulmonary stenosis, the ratio of energy in 100-300 Hz to the total energy of
PSD as compared to the normal patients is
a. Higher
b. Lower
c. Remains same
d. None of these
Correct answer: a
Detailed solution:
Refer slide no. 58 of Tutorial 5.4
______________________________________________________________________________

************END*******

Vous aimerez peut-être aussi