How can I solve PDE (Partial differential equation)?
조회 수: 2 (최근 30일)
이전 댓글 표시
I need to solve this partial differential equation:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/169039/image.gif)
on a square 0<p<1, 0<q<1, with random initial data p,q. How can I do? Could someone help me please? I want to plot the solution for any initial data and find the difference beetween them. Thank you very much
댓글 수: 0
답변 (1개)
David Ding
2017년 11월 1일
Hi Emrys,
You may find the " pdepe " function in MATLAB useful for your application here. The equation that you wanted to solve falls under equation (1-3) of the "pdepe" function doc page for Initial-Value problems, but for your case a lot of the terms in the general equation is 0, as you have a simple PDE.
You may take a look at Example 1 of the page as the setup is similar to what you wish to achieve.
Thanks,
David
참고 항목
카테고리
Help Center 및 File Exchange에서 Geometry and Mesh에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!