laplace transform in solving pde

%PDE: Matlab script M-file that plot solution of LT in solving PDE
syms x z y
clc
close all
%define the solution mesh
x = 0:.01:2;
Y = erf(x);
Z= erfc(x);
%plot the solution
plot(x,Y);
hold on;
plot(x,Z);
%plot the axis to show the linewidth
axis([0 2 -.1 1.1]);
title('Laplace transform in PDE')
ylabel('Y-axis')
xlabel('x-axis')

Answers (0)

This question is closed.

Products

Tags

Asked:

on 8 Jun 2022

Closed:

on 8 Jun 2022

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!