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
Walter Roberson 2020년 2월 7일
Is this for numeric work such as ode45, or for symbolic work?
Walter Roberson
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
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
Walter Roberson 2020년 2월 7일
Please use "Comment on this Answer" to post your responses, instead of "Answer this question".

댓글을 달려면 로그인하십시오.

답변 (3개)

Kamran Rahman
Kamran Rahman 2020년 2월 7일

0 개 추천

Hi Walter,
It is for numeric. The parameters are defined in the pdf next to the equations
Kamran Rahman
Kamran Rahman 2020년 2월 7일

0 개 추천

Could show me how this would be done please.
Ravi Kumar
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

태그

질문:

2020년 2월 7일

답변:

2020년 2월 7일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by