摘要:
>> x=0:.1:2*pi;plot(x,sin(x),x,cos(x)) >> plot(x,sin(x),'pentagramr',x,cos(x),'.b') x=li... 阅读全文
posted @ 2019-07-09 14:31
蔡军帅
阅读(175)
评论(0)
推荐(0)
摘要:
>> x=0:.1:2*pi;plot(x,sin(x),x,cos(x)) >> plot(x,sin(x),'pentagramr',x,cos(x),'.b') x=linspace(0,2*pi,30);y=sin(x); z=cos(x);u=2*sin(x).*cos(x);v=sin(x... 阅读全文
posted @ 2019-07-09 14:31
蔡军帅
阅读(289)
评论(0)
推荐(0)
摘要:
>> x=-3:0.2:5;y=x.^2-1;xn=-2:0.1:7; >> >> %多元函数(z=sin(x2+y2)/(x2+y2))拟合 >> [X,Y]=meshgrid(-2:0.2:2);Z=sin(X.^2+Y.^2)./(X.^2+Y.^2+eps); >> SX=[X(:),Y(:)];SZ=Z(:); [nX,nY]=meshgrid(-3:... 阅读全文
posted @ 2019-07-09 14:09
蔡军帅
阅读(9020)
评论(0)
推荐(0)
摘要:
>> x=-3:0.2:5;y=x.^2-1;xn=-2:0.1:7;>> >> %多元函数(z=sin(x2+y2)/(x2+y2))拟合>> [X,Y]=meshgrid(-2:0.2:2);Z=si... 阅读全文
posted @ 2019-07-09 14:09
蔡军帅
阅读(258)
评论(0)
推荐(0)
摘要:
Minf(x)=-5x1 -4x2 -6x3 x1 -x2 +x3 > c=[-5,-4,-6];>> A=[1 -1 13 2 43 2 0];>> b=[20;42... 阅读全文
posted @ 2019-07-09 10:03
蔡军帅
阅读(575)
评论(0)
推荐(0)
摘要:
Minf(x)=-5x1 -4x2 -6x3 x1 -x2 +x3 <=20 3x1 +2x2 +4x3 <=42 3x1 +2x2 <=30 0<=x1,0<=x2,0<=x3 阅读全文
posted @ 2019-07-09 10:03
蔡军帅
阅读(2186)
评论(0)
推荐(0)
浙公网安备 33010602011771号