资源简介
使用matlab进行数学建模画等温线 ,方法简单。
代码片段和文件信息
clear;close all;
fphn=fopen(‘hunan.txt‘‘r‘);
hnb=fgetl(fphn);
hnmap=fscanf(fphn‘%f %f‘[259]); % It has 59 rows now.湖南省界经纬度
fclose(fphn);
hnmap=hnmap‘;
xa=hnmap(:[1]);
ya=hnmap(:[2]);
fp=fopen(‘LATLON57.txt‘‘r‘);
LL57=fscanf(fp‘%d %f %f‘[397]); % It has 97 rows now.湖南省97县名称号码,经纬度
fclose(fp);
LL57=LL57‘;
x=LL57(:[3])/10;
y=LL57(:[2])/10;
fpy=fopen(‘etw00100.txt‘‘r‘);
ymd57=fscanf(fpy‘%d‘[31]);%实在不懂这句是什么
- 上一篇:圆阵目标方位估计,music方法matlab
- 下一篇:matlab拓扑优化学习资料
评论
共有 条评论