How can I solve multivariate differential equations?

I need to solve an ODE depending on 4 variables (t,x,y,z), with partial derivatives of order 2:
(dt + dz)^2 (f)- laplacian(f)=0
How can I write it on matlab? For instance "D([x y ...],f)" returns undefined function "D"...

4 件のコメント

John D'Errico
John D'Errico 2016 年 5 月 1 日
Well, yes, just making up your own notation/syntax in MATLAB will likely fail to produce working code. This is not an ODE by the way, but a PDE.
There are PDE tools in MATLAB. So you might start reading the help for those tools. Read through some examples. But I'd guess that really you need to start learning MATLAB, at least basic syntax, instead of jumping into the deep end of the pool.
You might also think about reading about numerical methods to solve PDEs. Understanding how to solve a problem can be valuable even when you try to use tools that do the work for you.
David GASPERINI
David GASPERINI 2016 年 5 月 2 日
I saw this D in this page:
Is it also my own notation? I do not think that I don't understand the problem, only I would like to implement this equation, is there a notation to do this? I mean to write partial derivatives of any order of a non explicitly defined function (by the way the expected solution of our equation)?
Torsten
Torsten 2016 年 5 月 2 日
Please write out your equation in the usual mathematical notation.
From what you wrote above, I don't even know which equation you are trying to solve.
Best wishes
Torsten.
Vaibhav Awale
Vaibhav Awale 2016 年 5 月 6 日
The D that is mentioned in this page should be used in MuPAD and not in MATLAB command window or MATLAB script. As John pointed out, to solve this PDE, PDE toolbox can be helpful, but it is important to understand basic syntax and numerical methods to solve PDEs

サインインしてコメントする。

回答 (0 件)

タグ

質問済み:

2016 年 5 月 1 日

コメント済み:

2016 年 5 月 6 日

Community Treasure Hunt

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

Start Hunting!

Translated by