• 大小: 973B
    文件类型: .m
    金币: 1
    下载: 0 次
    发布日期: 2021-01-08
  • 语言: Matlab
  • 标签: 数学建模  

资源简介

使用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]);%实在不懂这句是什么

评论

共有 条评论