How can I draw the graph of the following two isoclines in Matlab?

9 次查看(过去 30 天)
f(x,y)=A-Bx-Lx/(1+Mx)(1+Ny) (1)
g(x,y)=Lx/(1+Mx)(1+Ny)-D-F/(1+Hy) (2)
A=2; B=0.05; L=0.004; M=0.004; N= 0.002; D=0.053; F=0.02; H=0.0004

采纳的回答

Zenin Easa Panthakkalakath
Hi Parvaiz,
A combination of 'meshgrid' and 'surf' functions may be used in order to do this. The following code snippet may or may not be accurate, but feel free to use it as a starting point.
A=2; B=0.05; L=0.004; M=0.004; N= 0.002; D=0.053; F=0.02; H=0.0004
f = @(x,y)A-B.*x-L.*x./(1+M.*x).*(1+N.*y)
g = @(x,y)L.*x./(1+M.*x)*(1+N.*y)-D-F./(1+H.*y)
[X,Y] = meshgrid(1:5,1:5);
surf(X, Y, f(X,Y));
hold on;
surf(X, Y, g(X,Y));
Regards,
Zenin

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Partial Differential Equation Toolbox 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by