0% found this document useful (0 votes)
7 views12 pages

Signal and System - Lab Report-08 - FA19-BEE-140

The document discusses properties of convolution through examples of analyzing systems for BIBO stability. It provides code to test if systems described by various impulse responses are BIBO stable by evaluating if the response is absolutely summable. It concludes that convolution has the associative property which is useful for analyzing parallel systems.

Uploaded by

hogef37605
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)
7 views12 pages

Signal and System - Lab Report-08 - FA19-BEE-140

The document discusses properties of convolution through examples of analyzing systems for BIBO stability. It provides code to test if systems described by various impulse responses are BIBO stable by evaluating if the response is absolutely summable. It concludes that convolution has the associative property which is useful for analyzing parallel systems.

Uploaded by

hogef37605
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/ 12

Name Muhammad Rumman Afzal

Registration Number FA19-BEE-140/ISB

Class SIGNAL & SYSTEM (BEE-4C)

Instructor’s Name
MAM MEHWISH MEHMOOD

Gggggggggggggggggggggggggggggggggggggg
Lab 08- Properties of Convolution
Task 1: A system is described by the impulse response h(t) = t^2. Tell if this is a
BIBO stable system.

CODE:

syms t

h=t^2;

int(abs(h),t,0,inf)

ans = Inf

The answer is Infinity so the Bibo system is not stable.


CODE:

h1 = u.*exp(-3.*t);

h2 = t.*exp(-2.*t).*u;

y = h1 + h2;

syms t

final = exp(-3.*t)+(t.*exp(-2.*t));

int(abs(final),t,0,inf)

ans = 7/12

The answer is a constant number so the Bibo system is stable.


CODE:

step=0.01;

t1=0:0.01:4;

t2=t1;

t3=t2;

figure();

h1= t1.*cos(2.*pi.*t1);

subplot(3,1,1);

plot(t1,h1,'r-.','linewidth',2)

xlabel('t')

legend('p(t)');

h2= t2.*exp(-2.*t2);

subplot(3,1,2);

plot(t2,h2,'b--','linewidth',2)
xlabel('t')

legend('q(t)');

title('ADD')

h3=ones(size(t3));

h12=h1+h2;

subplot(3,1,3);

plot(t2,h12,'m:','linewidth',2)

xlabel('t')

legend('s(t)');

title('EQUAL')

figure();

th=0:step:8;

h= conv(h12,h3)*step;

subplot(3,1,1)

plot(th,h,'r-.','linewidth',2)

xlabel('t')

legend('h(t)')

title('overall impulse response')

tx=0:step:2;

x=tx.*exp(-2.*tx);

subplot(3,1,2);

plot(tx,x,'b--','linewidth',2)

xlabel('t')

legend('x(t)')

title('Input signal')
ty=0:0.01:10;

y=conv(x,h)*step;

subplot(3,1,3);

plot(ty,y,'m:','linewidth',2)

xlabel('t')

legend('y(t)')

title('overall response to the given input signal')

The system is Bibo stable.


CODE:

n = 0:2;

h1 = [2,3,4];

h2 = [-1,3,1];

h3 = [1,1,-1];

subplot(5,1,1)

stem(n,h1,'fill','Linewidth',2)

title('p[n]')

xlim([-0.2 2.2])

subplot(5,1,2)

stem(n,h2,'fill','Linewidth',2)

title('q[n]')

xlim([-0.2 2.2])
subplot(5,1,3)

stem(n,h3,'fill','Linewidth',2)

title('h3[n]')

xlim([-0.2 2.2])

pq=h1+h2;

subplot(5,1,4)

stem(n,pq,'fill','Linewidth',2)

title('r[n]')

xlim([-0.2 2.2])

n1 = 0:4;

rn = conv (pq,h3);

subplot(5,1,5)

stem(n1,rn,'fill','Linewidth',2)

title('s[n]')

xlim([-0.2 4.2])

figure();

n2 = 0:6;

rx = conv(rn,h1);

subplot(5,1,1)

stem(n2,rx,'fill','Linewidth',2)

title('t[n]')

xlim([-0.2 6.2])
n3 = 0:6;

h11 = conv(rn,h2);

subplot(5,1,2)

stem(n3,h11,'fill','Linewidth',2)

title('v[n]')

xlim([-0.2 6.2])

n4 = 0:6;

h = rx+h11;

subplot(5,1,3)

stem(n4,h,'fill','Linewidth',2)

title('h[n]')

xlim([-0.2 6.2])

xn = 0:1;

x = ones(size(xn));

subplot(5,1,4)

stem(xn,x,'fill','Linewidth',2)

title('x[t]');

xlim([-0.2 1.2])

ty = 0:7;

y = conv(x,h);

subplot(5,1,5)

stem(ty,y,'fill','Linewidth',2)
title('y[n]')

xlim([-0.2 7.2])

syms n

ans = symsum (abs(h),n,0,inf)

ans = [ Inf, Inf, Inf, Inf, Inf, Inf, Inf]

The system is not Bibo stable.


CONCLUSION:
In this lab, we learn the associative property of convolution describes how three or more
signals are convolved. This property of convolution describes how parallel systems are
analyzed. This is a way of thinking about a common situation in signal processing. For
Discrete time system we see the system is BIBO stable if the impulse response of the
system is absolutely summable. And for continuous time system, the system is BIBO
stable if the output/answer is some constant.

You might also like