How can I draw the graph of the following two isoclines in Matlab?
9 次查看(过去 30 天)
显示 更早的评论
Parvaiz Ahmad Naik
2019-5-5
回答: Zenin Easa Panthakkalakath
2019-5-14
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
0 个评论
采纳的回答
Zenin Easa Panthakkalakath
2019-5-14
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 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Partial Differential Equation Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!