partial derivative coding in matlab
显示 更早的评论
Hi Guys,
I am having difficulty coding the attached equations into matlab. I was wondering if somebody could help code it for me.
5 个评论
Walter Roberson
2020-2-7
Is this for numeric work such as ode45, or for symbolic work?
Walter Roberson
2020-2-7
If you have the symbolic toolbox then I recommend using that to set up the equations. Follow the sequence of steps shown in the first example in the documentation for odeFunction
Walter Roberson
2020-2-7
Though if you are doing partial derivatives you might need to use the PDE Toolbox, but not necessarily. https://www.mathworks.com/help/matlab/math/partial-differential-equations.html and https://www.mathworks.com/products/pde.html
Walter Roberson
2020-2-7
Please use "Comment on this Answer" to post your responses, instead of "Answer this question".
回答(3 个)
Ravi Kumar
2020-2-7
0 个投票
Although I have not looked into details, you might be able to setup this problem using pdepe function available in base MATLAB (you don't need PDE Toolbox).
Regards,
Ravi
类别
在 帮助中心 和 File Exchange 中查找有关 Structural Mechanics 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!