0% found this document useful (0 votes)
92 views4 pages

Digital Signal Processing Assignment II

This document appears to be an assignment for a Digital Signal Processing course. It contains 3 coding examples in MATLAB and corresponding questions about input/output signals and operations. Students are asked to run the code, examine the outputs, and answer questions to identify signal names, suitable operations (e.g. convolution), and output equations for different combinations of input signals shown in figures. The deadline for the assignment is April 25, 2019.

Uploaded by

rohit_648499138
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
92 views4 pages

Digital Signal Processing Assignment II

This document appears to be an assignment for a Digital Signal Processing course. It contains 3 coding examples in MATLAB and corresponding questions about input/output signals and operations. Students are asked to run the code, examine the outputs, and answer questions to identify signal names, suitable operations (e.g. convolution), and output equations for different combinations of input signals shown in figures. The deadline for the assignment is April 25, 2019.

Uploaded by

rohit_648499138
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

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