I have written the code for three differential equations for plotting the graph . I am not able to get the graph .

조회 수: 5 (최근 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)

채택된 답변

VBBV
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
Torsten
Torsten 2022년 1월 25일
Please write down your differential equations in a mathematical notation.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Mathematics에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by