I have written the code for three differential equations for plotting the graph . I am not able to get the graph .
1 view (last 30 days)
Show older comments
devyanshi bansal
on 25 Jan 2022
Commented: devyanshi bansal
on 26 Jan 2022
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 Comments
Accepted Answer
VBBV
on 25 Jan 2022
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 Comments
More Answers (0)
See Also
Categories
Find more on Ordinary Differential Equations in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!