partial derivative coding in matlab
Mostrar comentarios más antiguos
Hi Guys,
I am having difficulty coding the attached equations into matlab. I was wondering if somebody could help code it for me.
5 comentarios
Walter Roberson
el 7 de Feb. de 2020
Is this for numeric work such as ode45, or for symbolic work?
Walter Roberson
el 7 de Feb. de 2020
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
el 7 de Feb. de 2020
Walter Roberson
el 7 de Feb. de 2020
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
el 7 de Feb. de 2020
Please use "Comment on this Answer" to post your responses, instead of "Answer this question".
Respuestas (3)
Kamran Rahman
el 7 de Feb. de 2020
0 votos
Kamran Rahman
el 7 de Feb. de 2020
0 votos
Ravi Kumar
el 7 de Feb. de 2020
0 votos
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
Categorías
Más información sobre Structural Mechanics en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!