I have written the code for three differential equations for plotting the graph . I am not able to get the graph .
1 回表示 (過去 30 日間)
古いコメントを表示
clc;
clear all;
close all;
F = @(Z,X) (1.07*Z*Z-Z*Z*Z-0.17*Z-(0.36*Z*X)-(0.0001*sqrt(Z*Y))/(1+0.2*sqrt(Z)));
A = @(X,Y) (X)*(0.06*Z-4.06*X*Y-0.09)
B = @(Z,Y) (0.000089*sqrt(Z*Y))/(1+0.2*sqrt(Z))-0.232*X*Y-Y
[Z,X,Y] = ode45(F,[0 10],1);
plot(Z,X,Y)
0 件のコメント
採用された回答
VBBV
2022 年 1 月 25 日
clc;
clear all;
close all;
F = @(Z,X,Y) (1.07*Z*Z-Z*Z*Z-0.17*Z-(0.36*Z*X)-(0.0001*sqrt(Z*Y))/(1+0.2*sqrt(Z)))
A = @(X,Y,Z) (X)*(0.06*Z-4.06*X*Y-0.09)
B = @(Z,Y,X) (0.000089*sqrt(Z*Y))/(1+0.2*sqrt(Z))-0.232*X*Y-Y
[Z,X,Y] = ode45(@(X,Y,Z) F(1,10,110),[0 10],1);
plot(Z)
Check this
3 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Ordinary Differential Equations についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!