in MATLAB 2015b PDE toolbox for 3D geometry, how can i specify coefficients?
조회 수: 1 (최근 30일)
이전 댓글 표시
The 'specifyCoefficients' command is given in the documentation of the 2016b MATLAB, but in 2015b it is undefined. what should i use instead? Thank you.
댓글 수: 0
답변 (1개)
Alan Weiss
2016년 11월 1일
편집: Alan Weiss
2016년 11월 1일
To get to this documentation, I went to the MathWorks documentation page and clicked the Other Releases link on the right part of the page, just below the first divider.
You could also use the built-in documentation for your version of MATLAB, available by entering doc at the MATLAB command line, or by clicking the question mark on the upper part of the screen.
Alan Weiss
MATLAB mathematical toolbox documentation
댓글 수: 2
Alan Weiss
2016년 11월 2일
편집: Alan Weiss
2016년 11월 2일
The equation falls into the class of problems you can solve with the c coefficient being your constant c, and the a coefficient being your constant b, and f, m, and d all = 0. Well, the problem setup is
-nabla dot (c nabla u) + au = 0,
which is the negative of your equation
c*laplacian(u) - b*u = 0.
You would call the solver as follows, after including the geometry, making a mesh, and including the boundary conditions in model:
u = assempde(model,c,a,f);
Alan Weiss
MATLAB mathematical toolbox documentation
참고 항목
카테고리
Help Center 및 File Exchange에서 Boundary Conditions에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!