0% found this document useful (0 votes)
21 views1 page

Lab 05

The document describes steps to compute the Laplace transform of the convolution of two functions. It defines two functions, takes their Laplace transforms, computes the convolution in the Laplace domain, and takes the inverse Laplace transform to obtain the convolution in the time domain.

Uploaded by

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

Lab 05

The document describes steps to compute the Laplace transform of the convolution of two functions. It defines two functions, takes their Laplace transforms, computes the convolution in the Laplace domain, and takes the inverse Laplace transform to obtain the convolution in the time domain.

Uploaded by

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

Lab 05 Laplace transform of convolution of two functions

Step 1: Start

Step 2: Define symbolic variables

Step 3: Read the first and second functions

Step 4: Compute inverse Laplace transforms

Step 5: Compute the Laplace transform of the convolution

Step 6: Compute the inverse Laplace transform of the convolution


Step 7: Display the results

Step 8: Stop

Code:

% Symbolic variables
syms s t;
% Define the functions
F = exp(-t); % First function
G = t^2; % Second function
% Compute the Laplace transforms
F = laplace(f, s);
G = laplace(G, s);
% Compute the Laplace transform of the convolution
H = F*G;
% Compute the inverse Laplace transform of the convolution
Convolution = ilaplace(H, s, t);
% Display the result
disp(['Laplace transform of convolution: ', char(H)]);
disp(['Inverse Laplace transform of convolution: ', char(Convolution)]);

Output:

Laplace transform of convolution: 2/(s^3*(s + 1))


Inverse Laplace transform of convolution: t^2 - 2*exp(-t) - 2*t + 2

Department of Mathematics KLE Institute of Technology, Hubli

You might also like