Professional Documents
Culture Documents
Lab 05
Lab 05
Step 1: Start
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: