PDE Toolbox - thermal Problem
이전 댓글 표시
I am trying to use thermal conductivity k(x,y) in thermal problems in PDE toolbox. The document suggests that I can set it up as an anonymous function like
k = @(location,state)40 + 0.003*location.x;
This works.
However I would like to use an external function that returns an interpolated value using interp2 function.based on location data.
Is it possible?
Whatever I do I always get the error
Error using pde.ThermalMaterialAssignment/checkCoefFcnHdlArgCounts (line 368)
Function specifying a material property must accept 2
input arguments and return 1 output argument.
댓글 수: 1
Ravi Kumar
2019년 1월 22일
Can you provide the code sample?
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Heat Transfer에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!