meshz(x,y,z) xlabel('X'),ylabel('Y'),zlabel('Z') title('网格面') xi=1200:40:4000; yi=1200:40:3600; figure(2) z1i=interp2(x,y,z,xi,yi','nearest');%最邻近插值surfc(xi,yi,z1i) xlabel('X'),ylabel('Y'),zlabel('Z') title('最邻近插值') figure(3) z2i=interp2(x,y...
本视频展示如何用matlab绘制散圆状态图,可用于相关科研数据绘图!
一、山区地貌:在某山区测得一些地点的高程如下表:(平面区域1200≤x ≤4000,1200≤y ≤3600),试作出该山区的地貌图和等高线图。 clc;clear;clf; x = 1200:400:4000; y = 1200:400:3600; highth = [1480 1500 1550 1510 1430 130…阅读全文 赞同23 5 条评论 分享收藏 最小生成...
1200 1600 2000 2400 2800 3200 3600 4000 三. 实验主要流程、基本操作或核心代码、算法片段 原始图代码:x0=1200:400:4000; y0=1200:400:3600; z0=[1130,1250,1280,1230,1040,900,500,700; 1320,1450,1420,1400,1300,700,900,850; 1390,1500,1500,1400,900,1100,1060,950; ...
一、山区地貌:在某山区测得一些地点的高程如下表:(平面区域1200≤x≤4000,1200≤y≤3600),试作出该山区的地貌图和等高线图。 clc;clear;clf; x = 1200:400:4000; y = 1200:400:3600; highth = [1480 1500 1550 1510 1430 1300 1200 980 1500 1550 1600 1550 1600 1600 1600 1550 ...
<=y<=3600),试先利用数据作出该山区的地貌图和等高线图,再利用几种插值方法作出该山区的地貌图和等高线图进行比较。x=1200:400:4000;y=1200:400:3600; z...;Z’); title(‘带等高线地貌图双线性插值’) figure(3) meshc(x1,y1,z3) xlabel(‘X’);ylabel ...
x=1200:400:4000; y=1200:400:3600; temps=[1130 1250 1280 1230 1040900500700; 1320 1450 1420 1400 1300 700 900 850; 1390 1500 1500 14009001100 1060 950; 1500 1200 1100 1350 1450 1200 1150 1010; 1500 1200 1100 15501600 1550 1380 1070; 1500 1550 1600 15501600 1600 1600 1550; 1480 1500 ...
x_space = tf.cast(x_space, tf.float32)#默认是float64会报错不匹配,所以要转类型 net = SolveNet(x_space, tf.reduce_min(x_space), tf.reduce_max(x_space),w=w,activation=activation) if retrain: net.model_load() optimizer = Adam(lr) ...
%x=[1,250,500,750,1000,1250,1500,1750,2000,2250,2500,2750,3000,3250,3500,3750,4000,4250,4500,4750]; x=[1,100,200,300,400,500,600,700,800,900,1000,1100,1200,1300,1400,1500,1600,1700,1800,1900]; %28个函数最优值 funopt = [-1400,-1300,-1200,-1100,-1000,-900,-800,-700,-...
1200 1100 1550 1600 1550 1380 1070 3200 1500 1550 1600 1550 1600 1600 1600 1550 3600 1480 1500 1550 1510 1430 1300 1200 980 试作出该山区的地貌图和等高线图。 代码: x0=1200:400:4000; y0=1200:400:3600; height=[1130 1250 1280 1230 1040 900 500 700; 1320 1450 1420 1400 1300 700 900...