matlab求二元函数的极值范围:[x y]=meshgrid(0:1:100);方程:[t i]=min(0.0163.*x./y+0.0187.*y.^3./x.^2);解>> [a j]=min(t)a =0.0350j =2求教,x和y的值怎么确定

问题描述:

matlab求二元函数的极值
范围:[x y]=meshgrid(0:1:100);
方程:[t i]=min(0.0163.*x./y+0.0187.*y.^3./x.^2);
解>> [a j]=min(t)
a =
0.0350
j =
2
求教,x和y的值怎么确定

w=0.0163.*x./y+0.0187.*y.^3./x.^2;
i=find(w(:,j)==a);
x=x(i,j);
y=y(i,j);
得出x=y=1.