-
Notifications
You must be signed in to change notification settings - Fork 1
/
choose_s.m
102 lines (101 loc) · 2.62 KB
/
choose_s.m
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
function [b]=choose_s(i,t)
switch i
case 1
switch t
case 2006
y='A20060802006171';
case 2007
y='A20070802007171';
case 2008
y='A20080812008172';
case 2009
y='A20090802009171';
case 2010
y='A20100802010171';
case 2011
y='A20110802011171';
case 2012
y='A20120812012172';
case 2013
y='A20130802013171';
case 2014
y='A20140802014171';
case 2015
y='A20150802015171';
end
x='.L3m_SNSP_';
case 2
switch t
case 2006
y='A20061722006263';
case 2007
y='A20071722007263';
case 2008
y='A20081732008264';
case 2009
y='A20091722009263';
case 2010
y='A20101722010263';
case 2011
y='A20111722011263';
case 2012
y='A20121732012264';
case 2013
y='A20131722013263';
case 2014
y='A20141722014263';
case 2015
y='A20151722015263';
end
x='.L3m_SNSU_';
case 3
switch t
case 2006
y='A20062642006354';
case 2007
y='A20072642007354';
case 2008
y='A20082652008355';
case 2009
y='A20092642009354';
case 2010
y='A20102642010354';
case 2011
y='A20112642011354';
case 2012
y='A20122652012355';
case 2013
y='A20132642013354';
case 2014
y='A20142642014354';
case 2015
y='A20152642015354';
end
x='.L3m_SNAU_';
case 4
switch t
case 2006
y='A20063552007079';
case 2007
y='A20073552008080';
case 2008
y='A20083562009079';
case 2009
y='A20093552010079';
case 2010
y='A20103552011079';
case 2011
y='A20113552012080';
case 2012
y='A20123562013079';
case 2013
y='A20133552014079';
case 2014
y='A20143552015079';
case 2015
y='A20153552016080';
end
x='.L3m_SNWI_';
end
b=strcat(y,x);
end