(旋度的旋度=散度的散度-拉普拉斯算子)
将矢量平滑得连接起来的不相交的曲线
matlab代码----Copyright 2015 The MathWorks, Inc.
[x,y] = meshgrid(0:0.1:1,0:0.1:1);
u = sin(x);
v = -cos(y);
figure
quiver(x,y,u,v)
startx = 0.1:0.1:1;
starty = ones(size(startx));
streamline(x,y,u,v,startx,starty)
matlab 语法
streamline(X,Y,Z,U,V,W,startx,starty,startz)
streamline(U,V,W,startx,starty,startz)
streamline(XYZ)
streamline(X,Y,U,V,startx,starty)
streamline(U,V,startx,starty)
连接值相等的多个点的不相交的封闭曲线
x = linspace(-2*pi,2*pi);
y = linspace(-2*pi,2*pi);
[X,Y] = meshgrid(x,y);
Z = tan(X)-cos(Y);
contour(X,Y,Z)
matlab 语法
contour(X,Y,Z,'线型',等高线表示的值)