System Phase Portrait
2 ビュー (過去 30 日間)
古いコメントを表示
Hello, how can I draw the Phase portrait of the following system:
x' = x^3 + y - 3
y' = x + 5y + y^3 - 4
Is there some "catch" or it goes straightforward to something like:
function res = func2(t, y)
res = [y(1).^3 + y(2) -3;
y(1)+ 5*y(2)+ y(2).^3 -4];
Should I use y*y*y or y.^3?
Edit: How can I find the equilibrium points of the system?
0 件のコメント
回答 (1 件)
Pratik Bajaria
2014 年 8 月 12 日
Use ode45 function to plot the phase portraits. Check this out: http://www.mathworks.in/help/matlab/ref/ode45.html
0 件のコメント
参考
カテゴリ
Help Center および 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!