How to solve a non-standard PDE using MATLAB pde-toolbox?
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Shrishti
am 30 Okt. 2013
Kommentiert: Shrishti
am 1 Nov. 2013
I need to solve a pde of the form: p*d2u/dx2 + d2u/dy2 -q*u = r*du/dx + s*x*du/dy
where p, q, r, s are constants.
The pdetool does not allow to enter different coefficients for the separate second order terms. Is it possible to enter different coefficients for the separate second order terms via command-line?
Thanks in advance.
0 Kommentare
Akzeptierte Antwort
Bill Greene
am 31 Okt. 2013
For a single dependent variable like you have, the c-coefficient can be a 2x2 matrix. That is explained on this documentation page:
For your case, it looks like the best way to define that is:
c = -[p 1]';
Bill
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Boundary Conditions finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!