How to include constraint for pdepe solution (e.g., u>0)
조회 수: 2 (최근 30일)
이전 댓글 표시
Hello, I want to solve a parabolic partial differential equation (i.e., mixed Richards' Eq): du/dt=d/dz(A(z)*du/dz+B(z)) I want to put a constraint so that all solution are greater than a constant value, c (u>c). I would be grateful if you help me.
Thanks, Abedeh
댓글 수: 0
답변 (1개)
Gareth Thomas
2016년 10월 3일
In R2016b one can use the Piecewise function. I hope that this helps you.
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!