Transforming linear pde to code equation
이전 댓글 표시
Hi everyone,
Please how can I transform linear pde to code equation. The equations are in the attached file
BC:
theta(0,t) = theta(d,t) = 0
v(0, t) = v(d,t) = 0
댓글 수: 2
Torsten
2022년 7월 24일
And what is theta(z,0) and v(z,0) for 0<=z<=d ?
University Glasgow
2022년 7월 24일
편집: University Glasgow
2022년 7월 24일
답변 (1개)
Hi ,
I understand that you are trying to convert linear pde into a code equation.
You can follow the below given example to resolve the issue.
syms f(x,y) x y
eqn1=diff(f,x)
eqn2=diff(diff(f,x),x)
eqn3=diff(diff(f,x),y)
The MATLAB function "diff" can be used to convert partial differential equations into code equations, you can refer to the above example to proceed further. For a comprehensive understanding of the "diff" function in MATLAB, please refer to the provided documentation below.
카테고리
도움말 센터 및 File Exchange에서 Boundary Conditions에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


