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

26 visualizaciones (últimos 30 días)
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

Respuesta aceptada

Zenin Easa Panthakkalakath
Zenin Easa Panthakkalakath el 14 de Mayo de 2019
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

Más respuestas (0)

Community Treasure Hunt

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

Start Hunting!

Translated by