0% found this document useful (0 votes)
10 views11 pages

EXPERIMENT - 7 Word

The document discusses calculating the convolution sum of two discrete time signals. It provides the theory behind convolution and describes the process of finding the convolution sum by shifting one signal, multiplying it with the other signal, and summing the products. The document also includes MATLAB code examples to perform convolution and verify properties. It discusses cascading two LTI systems and computing the output signal through convolution.

Uploaded by

arunbhadoria1312
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)
10 views11 pages

EXPERIMENT - 7 Word

The document discusses calculating the convolution sum of two discrete time signals. It provides the theory behind convolution and describes the process of finding the convolution sum by shifting one signal, multiplying it with the other signal, and summing the products. The document also includes MATLAB code examples to perform convolution and verify properties. It discusses cascading two LTI systems and computing the output signal through convolution.

Uploaded by

arunbhadoria1312
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/ 11

ADITYA CHAUDHARY 22102188

EXPERIMENT - 7

AIM : To calculate the convolution sum of two discrete time signals.

THEORY : Convolution sum - The convolution sum of two DT signals is defined by

Convolution helps to determine the effect of the system on an input signal. The shifting
property of impulses tells us that a signal can be decomposed into an infinite sum of
scaled and time - shifted impulses.
Knowing how a system affects a single impulse, and by understanding
the way a signal is composed of scaled and summed impulses, it seems reasonable
that it should be possible to scale and sum the impulse responses of a system in order
to determine what output signal will result from a particular input.

Thus, the output of an LTI system, y [n] in response to an input, x[n] is given by the
convolution sum of impulse response of the system, h [n] and input to the system, x[n].

If one signal has M samples and other has N samples then convolution of these two
signals will have M+N-1 samples.
ADITYA CHAUDHARY 22102188

Finding Convolution Sum :


Step 1: Define/Sketch x [k] and h [k].
Step 2: The impulse response, h [k] time-reversed or folded to obtain h [-k].
Step 3: Then h [-k] shifted by n to form h [n – k] = h [-(k- n)] which is a function of k with
parameter n. Begin with shift n large and negative, i.e., shift h [-k] to the far left on the
time axis.
Step 4: The signal x [k] and h [n – k] are multiplied together for all values of k with n
fixed at some value/range.
Step 5: The product x [k] h [n – k] is summed over all k to produce a single output value
y [n].
Step 6: For Calculating the response of the system over all instants of time, repeat
steps 3 to 5 till response at all time instants (n = -∞ to ∞) is obtained.

INLAB EXERCISE

Q1. Consider the continuous-time signals

Write a MATLAB program to perform and verify the continuous-time convolution


commutativity, distributivity and associativity properties (Use conv):
ADITYA CHAUDHARY 22102188
ADITYA CHAUDHARY 22102188

2. Write a MATLAB program to perform the Convolution. Plot the results


obtained and comment on the convolution signal durations. Verify the results by
using the MATLAB function conv.

a) x[n] = [-2 0 1 -1 3] and h[n] = [1 2 0 -1]


ADITYA CHAUDHARY 22102188
ADITYA CHAUDHARY 22102188
ADITYA CHAUDHARY 22102188
ADITYA CHAUDHARY 22102188

POSTLAB EXERCISE

1. Consider two LTI systems with the unit sample responses.

These two systems are cascaded as shown in fig. Let x[n] = δ[n].

a. Compute y[n] by first computing w[n]= x[n]*h1[n] and then computing y[n]
= w[n]*h2[n]; that is y[n] = (x[n]*h2[n])*h1[n]

b. Now, find y[n] by first convolving h1[n] and h2[n] to obtain and then
convolving x[n] with g[n] to obtain y[n] = x[n]*(h1[n]*h2[n])
ADITYA CHAUDHARY 22102188

2. Write a function to calculate convolution sum of two DT sequences,

Verify it also.
ADITYA CHAUDHARY 22102188
ADITYA CHAUDHARY 22102188

Result:
In the MATLAB experiment, the convolution sum of two discrete time signals was
successfully computed. The result represents the output signal formed by convolving
the input signals, demonstrating the linear time-invariant system's response.

Learning Outcomes: Learning outcomes of this experiment are:


● Developing proficiency in using MATLAB for signal processing tasks.
● Gaining practical experience in convolving discrete time signals.
● Insight into how convolution affects signal characteristics.
● Real-world application of convolution in filtering and system analysis.

You might also like