matlab方程画图f(x,y)=(837.0763/x.^1.7256)*exp(-y.^2/(0.0717*x.^0.3788)-1.1311e+005/x.^1.6773)有人可以帮忙画下这个方程的图吗?感激不尽

来源:学生作业帮助网 编辑:作业帮 时间:2024/11/15 11:31:52

matlab方程画图f(x,y)=(837.0763/x.^1.7256)*exp(-y.^2/(0.0717*x.^0.3788)-1.1311e+005/x.^1.6773)有人可以帮忙画下这个方程的图吗?感激不尽
matlab方程画图
f(x,y)=(837.0763/x.^1.7256)*exp(-y.^2/(0.0717*x.^0.3788)-1.1311e+005/x.^1.6773)
有人可以帮忙画下这个方程的图吗?感激不尽

matlab方程画图f(x,y)=(837.0763/x.^1.7256)*exp(-y.^2/(0.0717*x.^0.3788)-1.1311e+005/x.^1.6773)有人可以帮忙画下这个方程的图吗?感激不尽
[x,y]=meshgrid(0:20:5000,-3000:20:3000);
c=(837.0763./(x+eps).^1.7256).*exp(-y.^2./(0.0717*(x+eps).^0.3788)-113110./(x+eps).^1.6773);
mesh(x,y,real(c))
alpha(0.5)
 

又见高斯!你这个模型横向两侧扩散的太快了,出来就是这么个刀片一样的玩意,你再改改吧!

axes('xlim',[0.3 0.7],'ylim',[0.9 1.1],'dataaspectratio',[1 1 1]);
x1 = 0.4:0.01:0.6;
t = (0:0.01:2)*pi;
l = line(NaN,NaN);
for k = 1:length(x1)
y1 = 1-(x1(k)-0.4)^2;
s...

全部展开

axes('xlim',[0.3 0.7],'ylim',[0.9 1.1],'dataaspectratio',[1 1 1]);
x1 = 0.4:0.01:0.6;
t = (0:0.01:2)*pi;
l = line(NaN,NaN);
for k = 1:length(x1)
y1 = 1-(x1(k)-0.4)^2;
set(l,'xdata',4/3*(1-y1)*cos(t)+x1(k),'ydata',4/3*(1-y1)*sin(t)+1);
pause(0.1);
end
请采纳。

收起