x = -800:10:800; %数据准备
y = 0:1:30;
[X,Y] = meshgrid(x,y); %meshgrid创建网格
Z = cos(0.017.*X-0.2.*Y).*exp(-0.2.*Y);
surf(X,Y,Z)
深度越深,温度变化幅度越小,地下温度变化随着深度加深逐渐滞后(注意图象脊背的扭曲)
x = -800:10:800; %数据准备
y = 0:1:30;
[X,Y] = meshgrid(x,y); %meshgrid创建网格
Z = cos(0.017.*X-0.2.*Y).*exp(-0.2.*Y);
surf(X,Y,Z)
深度越深,温度变化幅度越小,地下温度变化随着深度加深逐渐滞后(注意图象脊背的扭曲)