0% found this document useful (0 votes)
42 views

Lab 5

This lab report describes an experiment on discrete-time convolution summation performed in MATLAB. The objectives were to learn about convolution operation, perform convolution on signals using MATLAB. The code generates input signals, shifts them by 4 and -2, adds shifted signals with coefficients and subtracts another signal to produce the output signal. Graphs of the input, shifted and output signals are displayed. The report discusses discrete-time convolution summation and observations made from the output graphs.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
42 views

Lab 5

This lab report describes an experiment on discrete-time convolution summation performed in MATLAB. The objectives were to learn about convolution operation, perform convolution on signals using MATLAB. The code generates input signals, shifts them by 4 and -2, adds shifted signals with coefficients and subtracts another signal to produce the output signal. Graphs of the input, shifted and output signals are displayed. The report discusses discrete-time convolution summation and observations made from the output graphs.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

Bangladesh University of Business & Technology

(BUBT)

LAB REPORT
Course Title: Digital Signal Processing Lab

Course Code: EEE 314

Experiment no: 07

Experiment Name :Discrete-time Correlation.

Submitted By: Submitted To:


Name: Abid Hasan Name:Asiful Hoque

ID No:19202208023

Intake:29 Department of: EEE

Section:01 Bangladesh University of Business &

Program: BSC in EEE Technology.

Date of Submission: Signature of Teacher:


Experiment No: 05
Name of the Experiment: Discrete-time Convolution summation.
Objective: The objectives of this experiment are to:
• Learn about convolution operation and its purpose.
• Perform convolution summation on signals using
MATLAB.
Experiment Platfrom : MATLAB 2019
Code:
Problem 1 :
clc
clear all
close all

x = [1 -2 4 6 -5 8 10]; %input('enter the sequence')


n1 = -4:2; %('enter the time duration')
subplot(411);
stem(n1, x);
title('input signal');
xlabel('Index (n)');
ylabel('Amplitude');
[y1,n] = shifting(x,n1,4)
subplot(412); stem(n, y1)
title('shifted by 4');
xlabel('Index (n)');
ylabel('Amplitude');
[y2,n2] = shifting(x,n1,-2)
subplot(413);
stem(n2, y2)
title('Shifted by -2');
xlabel('Index (n)');
ylabel('Amplitude');
% y = 3*y2+y1-2*x;

[sum1,n5] = signaladd(y1,n,3*y2,n2);
[y,n6] = signaladd(sum1,n5,-2*x,n1);
subplot(414);
stem(n6, y)
title('output signal');
xlabel('Index (n)');
ylabel('Amplitude');
Graph:

Figure: 01

Comment:
1. Submit the complete data sheet with the screenshots of MATLAB code
and Output Graphs.

2. Using various variables value complete the data table, observe the output
graphs and write a report.
Discussion:

In this lab we have learn about the Discrete-time Convolution summation. Perform
convolution summation on signals using MATLAB.
To create these signals we have used some funcition file.Along with the
function file the code was executed and captured the output graph.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy