PDE Toolbox: c coefficient in 1D

14 views (last 30 days)
Joanna Chang
Joanna Chang on 10 Aug 2020
I am trying to solve a system of 2 PDEs in 1D with PDE Toolbox. (Note that I have to use PDE Toolbox instead of pdepe since one of my PDEs is hyperbolic).
Here are my equations:
Written in the form that PDE Toolbox wants, we have
where [1 0; 0 0] is the matrix form of the c coefficient. The terms in brackets are matrices written in matlab form. Now, how can I write the c coefficient in the form expected by specifycoefficients()? I'm not sure how this translates into a tensor.

Answers (0)

Community Treasure Hunt

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

Start Hunting!