solving partial differential equation system

I want to solve this 2 partial differential equation system (numerical) on matlab but can't understand how should I do it.
I've tryied to understand where should I began but couldn't succeed.
If anyone could guide me it could be wonderful.
The equations are
  1. d(nC)/dt = - d(qC)/dx + d(nD * dC/dx)/dx - n*C*R
  2. dn/dt = - n*C*R
(q, D, R are constants)
thank you very much.

1 Comment

Maybe finite difference method FDM? Do you know how the result should looks like?

Sign in to comment.

Asked:

on 23 Dec 2019

Community Treasure Hunt

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

Start Hunting!