Borrar filtros
Borrar filtros

how to write the boundary values for ode

1 visualización (últimos 30 días)
Mallikarjuna M
Mallikarjuna M el 25 de Feb. de 2022
Editada: Torsten el 25 de Feb. de 2022
i have the boundary values like
a(0)=1, a'(1)=0
and
b(1)=1, b'(0)=0
is this following code correct for my boundary
function [pl,ql,pr,qr] = pdex4bc(~,ul,~,ur,~)
pl = [ul(1)-1;0];
ql = [0;1];
pr = [0;ur(2)-1];
qr = [1;0];
  1 comentario
Torsten
Torsten el 25 de Feb. de 2022
Editada: Torsten el 25 de Feb. de 2022
If f = DuDx and a=u(1), b=u(2), this should be correct.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Ordinary Differential Equations en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by