Help me to use PDEPE command?

1 visualizzazione (ultimi 30 giorni)
Jin goo
Jin goo il 27 Mag 2013
Hello all.
I want to solve a partial differential equation using PDEPE.
The partial differential equation is given by du/dt=D*x^(-2)d/dr(x^(2)du/dx)+p*u -K(t)*u
I think %function
function [c,f,s] = pdex1pde(x,t,u,DuDx)
c = 1;
f = D*DuDx;
s = (p-K(t))*u
but I am not sure about s=(p-K(t))*u.
Would you let me know the right function?
Thank you very much.

Risposte (0)

Categorie

Scopri di più su Numerical Integration and Differential Equations in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by