How can I use pdepe to solve a PDE with an integral boundary condition?
이전 댓글 표시
I would like to solve a PDE of the form
du(x,t)/dt = - du/dx - u
with the boundary condition
u(0,t) = int(u(x,t),x0,xf).
Since the usual @bcfun does not have argument u, is this boundary condition possible? If so, how would I formulate it?
Thanks in advance for any help.
답변 (2개)
Youssef Khmou
2013년 9월 27일
0 개 추천
why not solve, first, for u(0,t) for known x0 and xf, using integral or quad or trapz next follow the routine ?
Youssef Khmou
2013년 9월 28일
0 개 추천
hi, take a look at the file,
카테고리
도움말 센터 및 File Exchange에서 General PDEs에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!