今天为大家带来81种【按赛题类型划分算法及代码】,由国一学长吐血整理,是参加国赛必备的学习资料,有了代码包,比赛过程中不再为编程发愁~免费分享给需要的小伙伴,希望对参加国赛的同学有所帮助!
matlab时间序列分析部分代码:
%% data
clear
cd('F:\Ī����')
% ��ɽ ���� �ϴ� ��ɽ ��β
% DoSA LoHi ShCH WaSH SnWE
% �� �� ��
namelist = [repmat('DoSA',2,1);...
repmat('LoHI',2,1);...
repmat('ShCH',4,1);...
repmat('WaSH',4,1);...
repmat('SnWE',10,1)];
datelist = [repmat(['160914';'160915'],2,1);...
repmat(['181029';'181030';'181031';'181101'],2,1);...
strcat('2006',num2str((10:19)'))];
typelist = [ones(12,1);ones(10,1)];
alldata = [];
% load('alldata.mat')
for i = 13%1:length(namelist)
cd('F:\Ī����')
[alldata(i).name,...
alldata(i).data,...
alldata(i).data1,...
alldata(i).n,...
alldata(i).m,...
alldata(i).n1,...
alldata(i).t,...
alldata(i).coo,...
alldata(i).kmat,...
alldata(i).pairid,...
alldata(i).nearid]= read(namelist(i,:),datelist(i,:),'F:\Ī����\data',typelist(i,:));
end
cd('F:\Ī����')
% save('alldata.mat','alldata')
...
篇幅有限,更多资料可评论免费领取哦~