matlab 中Z = X.*exp(-X.^2 - Y.^2);具体意思?具体代码:[X,Y] = meshgrid(-2:.2:2); Z = X.*exp(-X.^2 - Y.^2); [DX,DY] = gradient(Z,.2,.2); contour(X,Y,Z); %等高线figure,quiver(X,Y,DX,DY);

来源:学生作业帮助网 编辑:六六作业网 时间:2024/11/18 01:40:58
matlab中Z=X.*exp(-X.^2-Y.^2);具体意思?具体代码:[X,Y]=meshgrid(-2:.2:2);Z=X.*exp(-X.^2-Y.^2);[DX,DY]=gradient(

matlab 中Z = X.*exp(-X.^2 - Y.^2);具体意思?具体代码:[X,Y] = meshgrid(-2:.2:2); Z = X.*exp(-X.^2 - Y.^2); [DX,DY] = gradient(Z,.2,.2); contour(X,Y,Z); %等高线figure,quiver(X,Y,DX,DY);
matlab 中Z = X.*exp(-X.^2 - Y.^2);具体意思?
具体代码:
[X,Y] = meshgrid(-2:.2:2);
Z = X.*exp(-X.^2 - Y.^2);
[DX,DY] = gradient(Z,.2,.2);
contour(X,Y,Z); %等高线
figure,quiver(X,Y,DX,DY);

matlab 中Z = X.*exp(-X.^2 - Y.^2);具体意思?具体代码:[X,Y] = meshgrid(-2:.2:2); Z = X.*exp(-X.^2 - Y.^2); [DX,DY] = gradient(Z,.2,.2); contour(X,Y,Z); %等高线figure,quiver(X,Y,DX,DY);
exp()是指以e为底数的指数
Z=X.*exp(-X.^2-Y.^2)即指:
至于字母后面的点“.”代表这是一个向量

matlab中z=x.*exp(-0.5*x.^2-Y.^3) z =-4*cos(2*exp(-x))*exp(-x)^2-2*sin(2*exp(-x))*exp(-x)要将x=3代入,怎样通过matlab软件实现? matlab问题:[x,y,z]=solve('x+y*exp(8.3*z)=0.96','x+y*exp(9.2*z)=1.56','x+y*exp(9.3*z)=1.48')其运行结果为x = 1.56 - (0.08*exp(9.2*z2))/(exp(9.2*z2) - 1.0*exp(9.3*z2)) y = 0.08/(exp(9.2*z2) - 1.0*exp(9.3*z2)) z = z2请问z2是啥啊? matlab中y=1.0332*exp(-(x-500)/7756);是什么意思 MATLAB中 a*exp(b*x)是什么意思? Z=exp(-(X.^2+Y.^2)/2^2);中exp的意义和作用是什么? Matlab解三元方程组问题解三元方程组问题:449.15=x/(1-y*exp(-1995*z))701.24=x/(1-y*exp(-2000*z))827.75=x/(1-y*exp(-2005*z)) 请问如何在Matlab中画出z=exp(x.^2+y.^2)的图像?请给出完整代码(M文件代码) matlab 中Z = X.*exp(-X.^2 - Y.^2);具体意思?具体代码:[X,Y] = meshgrid(-2:.2:2); Z = X.*exp(-X.^2 - Y.^2); [DX,DY] = gradient(Z,.2,.2); contour(X,Y,Z); %等高线figure,quiver(X,Y,DX,DY); 下面的MATLAB程序哪里错了,怎么出来都是一条直线呀?x=0.5:0.02:1.3;z=0.6*x./(1-2*x);y=(0.6*x.*(exp(-5*z))/(1-exp(-3*z))-x+0.6*x.*exp(-2*z)-0.6*x.*exp(-5*z))/z;plot(x,y) matlab中当数值太大时如何化简使得matlab能够计算?需要计算以下式子的函数值,log(exp(x)+exp(y)+exp(z)),因为x,y和z的数值都非常大,以至于matlab中exp(x)的计算结果显示为lnf,请问大家有没有什么办法可 matlab 用solve或者fsolve求解方程组clcsyms x y z;eq1 =-(31*x*exp(29301/2500 - (31*x^2)/(10000*z) - y^2/(10000*z) - (661*z)/625))/(5000*z);eq2 =-(y*exp(29301/2500 - (31*x^2)/(10000*z) - y^2/(10000*z) - (661*z)/625))/(5000*z);eq3=exp(29301/2500 matlab中surf函数用法,z=0.5*(x-exp(0.0154*y-2))这个方程我想在matlab中做一个三维曲图像,怎么用surf函数实现呢, matlab 求方程组求助各位谁能帮我求解下一个方程组,y,z,(y,z为负数)我自己编了下,但是求不出解,紧急,帮我解下,[x,y,z]=solve('x*(exp(y*2.6*10e(-6))-exp(z*2.6*10e(-6)))=1','x*(exp(y*5*10e(-5))-exp(z*5*10e(-5)))=0.5','( matlab 报错 求指导x=0:0.0001:1;y=[1/(i*6.24375)]*[(-2.93*exp(i*1.373*x)-0.05)]*exp(-x/58.213)+[1/(i*5.747)*exp(-x/58.213)]-[1/(i*8.003)*exp(-x/13.222)*exp(i*1.08*x)];z=abs(y);plot(x,z);总是报错啊Error using ==> mtimesInner matrix dimensions 如何用matlab画 隐函数y=-1.766*{[ln(1-y)]^0.6}*exp^(-0.0173*x.)+0.00031918*exp(-0.035*x.),[0 300000]在matlab中显示错误 求助用matlab画出一个函数的等高线f(x1,x2)=exp(x1+3*x2-0.1) + exp(x1-3*x2-0.1) + exp(-x1 - 0.1)我的程序是这样的:[X,Y] = meshgrid((-10:1:10),(-10:1:10));Z = exp(X+3.*Y-0.1)+exp(X-3.*Y-0.1)+exp(-X-0.1);%Z = X.*exp(-X.^2-Y.^2);[C,h] 求三元函数matlab作图代码刚接触matlab,对于三元函数的曲面图有点无从下手……函数如下:C(x,y,z)=((50(1+0.0001x)^0.5)/(0.0484*pi*x^2))*exp(-(y^2)*(1+0.0001x))/(0.0968x^2))*{exp(-(z-80)^2/(0.0968x^2))+exp(-(z+80)^2/(0.096