ode45 3D-Plot
古いコメントを表示
Hi
Can sb help me please?
I should draw 3D-Plot for a first order differential system, but I could find just one example which was very complicated for me to learn!
a=1; b=2; c=a*(b^2-1/(b^2));
f = @(t,x)[x(2)*x(3)-a*x(1)
x(1)*(x(3)-c)-a*x(2)
1-x(1)*x(2)];
t=linspace(0,50);
[t,x]=ode45(f,t,[1 0 1]);
now I should draw the 3D trajectory (x1-x2-x3 diagram) and also indicate them in the course of time !
can someone help with it?
Thank you very much in advance
4 件のコメント
madhan ravi
2019 年 4 月 6 日
In 3D plane what does x1 ,x2, x3 & t what do they represent? Only three variables can be represented in x,y & z plane.
Saeed Ahmadzadeh
2019 年 4 月 7 日
madhan ravi
2019 年 4 月 7 日
simply use plot3()
Saeed Ahmadzadeh
2019 年 4 月 7 日
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Numerical Integration and Differential Equations についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!