0% found this document useful (0 votes)
20 views3 pages

Lab 9

This document discusses four tasks related to convolution properties and operations: 1) Compute the autoconvolution of the sequence [1 -1 2 0 -1 0 0 0] by hand. 2) Use the XCORR command to calculate the same autoconvolution. 3) Calculate the energy of the original sequence. 4) Compute the cross convolution of the sequences [0 0 1 0 2 0 0 -1 0] and [0 0 1 0.8 0.6 0 0 0 0].

Uploaded by

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

Lab 9

This document discusses four tasks related to convolution properties and operations: 1) Compute the autoconvolution of the sequence [1 -1 2 0 -1 0 0 0] by hand. 2) Use the XCORR command to calculate the same autoconvolution. 3) Calculate the energy of the original sequence. 4) Compute the cross convolution of the sequences [0 0 1 0 2 0 0 -1 0] and [0 0 1 0.8 0.6 0 0 0 0].

Uploaded by

Hey Marko
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

Signal and System Roll no:2018-EE-140

LAB 09:
OBJECT: To understand properties and operation of convelation.

Task 1: Compute by hand the auto convelation of the following signal.

Department of Electronic Engineering


Sir Syed University of Engineering and Technology
Signal and System Roll no:2018-EE-140

Task 2: Use XCORR command to compute the autoconvelation function of the


sequence given in task 1.

CODE:
x=[1 -1 2 0 -1 0 0 0]
nx=[0:7]
y=xcorr(x,x)
xy=-7:7
stem(xy,y)

RESULT:
7

-1

-2

-3
-8 -6 -4 -2 0 2 4 6 8

Task 3: Calculate the energy of the sequence given in task 1.

CODE:
x=[1 -1 2 0 -1 0 0 0]
nx=[0:7]
E=sum(abs(x).^2)

RESULT:
E =

7
Task 4: Compute cross convelation of the given sequence

CODE:
x=[0 0 1 0 2 0 0 -1 0]
y=[0 0 1 0.8 0.6 0 0 0 0]
nx=[0:8]

Department of Electronic Engineering


Sir Syed University of Engineering and Technology
Signal and System Roll no:2018-EE-140

ny=[0:8]
y=xcorr(x,y)
xy=-8:8
stem(xy,y)

RESULT:
2.5

1.5

0.5

-0.5

-1
-8 -6 -4 -2 0 2 4 6 8

Department of Electronic Engineering


Sir Syed University of Engineering and Technology

You might also like