Download as pdf or txt
Download as pdf or txt
You are on page 1of 4

KUMARAGURU COLLEGE OF TECHNOLOGY, COIMBATORE-49

DEPARTMENT OF ELECTRICAL AND ELECTRONICS ENGINEERING


U17EET4004 DIGITAL SIGNAL PROCESSING
ASSIGNMENT-II
Student Name: _____________________________

Roll No: __________________________________

Department/Year/Sec: ______________________

1. From the Image shown in figure, comment the answer for the below questions.

a) Name of the Input Signal 1: __________________________________________________________

b) Name of the Input Signal 2: __________________________________________________________

c) Name the operation which is suitable to get the third waveform which using first two waveforms as

input signal and Justify.(E.g. Convolution, Correlation, Division, Multiplication, etc.,) : -

_________________________________________________________________________________

_________________________________________________________________________________

d) Output Equation y(n) (Consider a(n) and b(n) as two input signal) :

_________________________________________________________________________________

1|Page
KUMARAGURU COLLEGE OF TECHNOLOGY, COIMBATORE-49
DEPARTMENT OF ELECTRICAL AND ELECTRONICS ENGINEERING
U17EET4004 DIGITAL SIGNAL PROCESSING
ASSIGNMENT-II
2. From the Image shown in figure, comment the answer for the below questions.

a) Name of the Input Signal 1: __________________________________________________________

b) Name of the Input Signal 2: __________________________________________________________

c) Name the operation which is suitable to get the third waveform which using first two waveforms as

input signal and Justify.(E.g. Convolution, Correlation, Division, Multiplication, etc.,) : -

_________________________________________________________________________________

_________________________________________________________________________________

d) Output Equation y(n) (Consider a(n) and b(n) as two input signal) :

_________________________________________________________________________________

2|Page
KUMARAGURU COLLEGE OF TECHNOLOGY, COIMBATORE-49
DEPARTMENT OF ELECTRICAL AND ELECTRONICS ENGINEERING
U17EET4004 DIGITAL SIGNAL PROCESSING
ASSIGNMENT-II
3. From the Image shown in figure, comment the answer for the below questions

a) Name of the Input Signal 1: __________________________________________________________

b) Name of the Input Signal 2: __________________________________________________________

c) Name the operation which is suitable to get the third waveform which using first two waveforms as

input signal and Justify.(E.g. Convolution, Correlation, Division, Multiplication, etc.,) : -

_________________________________________________________________________________

_________________________________________________________________________________

d) Output Equation y(n) (Consider a(n) and b(n) as two input signal) :

_________________________________________________________________________________

4. Troubleshoot and Debug the below code in MATLAB Software and attach the output results. From
the results, explain the coding.

Coding 1:

clc;
clear all;
t=[0:0.1:2*pi]

3|Page
KUMARAGURU COLLEGE OF TECHNOLOGY, COIMBATORE-49
DEPARTMENT OF ELECTRICAL AND ELECTRONICS ENGINEERING
U17EET4004 DIGITAL SIGNAL PROCESSING
ASSIGNMENT-II
a=sin(2*pi*60*t);
plot(t,a);
Coding 2:

clc;
clear all;
Fs=8000;
dt=1/Fs;
StopTime=0.25;
t=(0:dt:StopTime-dt);
Fc=60;
x=cos(2*pi*Fc*t);
figure;
plot(t,x);
xlabel('time (in seconds)');
title('Signal Versus Time');
Coding 3:

clc;
clear all;
fs = 10000;
t = 0:1/fs:1.5;
x1 = sawtooth(2*pi*50*t);
x2 = square(2*pi*50*t);
subplot(2,1,1)
plot(t,x1)
axis([0 0.2 -1.2 1.2])
xlabel('Time (sec)')
ylabel('Amplitude')
title('Name of the Waveform 1')
subplot(2,1,2)
plot(t,x2)
axis([0 0.2 -1.2 1.2])
xlabel('Time (sec)')
ylabel('Amplitude') Deadline:
title('Name of the Waveform 2') 25.04.2019

4|Page

You might also like