Signals - LAB Report - 01
Signals - LAB Report - 01
clc
clear all
close all
syms t s
t
s
f= -1.25+3.5.*exp(-2.*t)+1.25.* exp(-2.*t);
F = laplace(f,s)
f2= ilaplace(F,s)
Task 02: Compute the unilateral Laplace transform of the function .
clc
clear all
close all
syms t s
t
s
f= 1;
laplace(f,s)
Task 03: Express in the partial fraction form the signal
clc
clear all
close all
num = [1 0 -3 2];
den = [0 1 4 5];
[R,P,K] = residue(num,den)
Task 04: Express in the partial fraction form the signal
Verify your result by computing the inverse Laplace transform from both forms (partial
clc
clear all
close all
num = [0 0 1 5 4];
den = [1 0 0 0 1];
[R,P,K] = residue(num,den)
In-Lab Open ended Tasks
Task 01: Examine the network shown in figure 12.1 below. Assume the network is in steady
state prior tot=0 .
I. Plot the output current i (t ) , for t >0
II. Determine whether the system is stable or not?
i (t ) t=0
vC ( t)
Figure 12.1
clc
clear all
close all
syms t s
Vi=12;
V=laplace(Vi,s);
I=V/(2+s+10./s);
Io=ilaplace(I,t);
ezplot(Io,[0 10]);
ylim([-2 3])
xlabel('Time')
ylabel('Amplitude')
E=int(abs(Vi).^2,t,0,inf);
V i (t) v o (t)
Figure 12.2
clc
clear all
close all
syms t s
input=10.*cos(2.*t).*heaviside(t);
lapin=laplace(input,s);
output=lapin.*((s.^2)./(s+2).^2);
vout=ilaplace(output,t);
ezplot(vout,[0 10])
xlabel('Time')
ylabel('Amplitude')
e = sum(int(abs(vout).^2,t,-inf,inf));