non-negative constraint to solve time dependent system of PDE using solvepde OR Editing built in functions
조회 수: 1 (최근 30일)
이전 댓글 표시
I have a systems of time dependent pde's representing population growth and depletion/production of resources. I would like to set the code so that the values of the solutions are not negative (not physical). I am using solvepde, I thought that maybe I could add:
odeoptions=odeset(odeoptions,'NonNegative',1)
in the 72nd line of solveTimeDependent.m but matlab tells me to that my access is denied.
What should I do?
9.0.0.341360 (R2016a)
댓글 수: 0
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 PDE Solvers에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!