1 | % 1 floater 2 pts |
---|
2 | figure |
---|
3 | ls |
---|
4 | load obs_float_test.dat |
---|
5 | x1=obs_float_test (1:2:40,4) |
---|
6 | y1=obs_float_test (2:2:40,4) |
---|
7 | x1=x1+1; |
---|
8 | y1=y1+1; |
---|
9 | plot(x1(1),y1(1),'+') |
---|
10 | hold on |
---|
11 | plot(x1(20),y1(20),'>') |
---|
12 | hold on |
---|
13 | plot(x1(1:20),y1(1:20),'-r') |
---|
14 | hold on |
---|
15 | x2=obs_float_test (41:2:80,4) |
---|
16 | y2=obs_float_test (42:2:80,4) |
---|
17 | x2=x2+1; |
---|
18 | y2=y2+1; |
---|
19 | plot(x2(1),y2(1),'+') |
---|
20 | hold on |
---|
21 | plot(x2(20),y2(20),'>') |
---|
22 | hold on |
---|
23 | plot(x2(1:20),y2(1:20),'-r') |
---|
24 | hold on |
---|
25 | x3=obs_float_test (81:2:120,4) |
---|
26 | y3=obs_float_test (82:2:120,4) |
---|
27 | x3=x3+1; |
---|
28 | y3=y3+1; |
---|
29 | plot(x3(1),y3(1),'+') |
---|
30 | hold on |
---|
31 | plot(x3(20),y3(20),'>') |
---|
32 | hold on |
---|
33 | plot(x3(1:20),y3(1:20),'-r') |
---|
34 | hold on |
---|
35 | x4=obs_float_test (121:2:160,4) |
---|
36 | y4=obs_float_test (122:2:160,4) |
---|
37 | x4=x4+1; |
---|
38 | y4=y4+1; |
---|
39 | plot(x4(1),y4(1),'+') |
---|
40 | hold on |
---|
41 | plot(x4(20),y4(20),'>') |
---|
42 | hold on |
---|
43 | plot(x4(1:20),y4(1:20),'-r') |
---|
44 | hold on |
---|
45 | |
---|
46 | |
---|
47 | |
---|
48 | load rfloat_total.dat; |
---|
49 | whos; |
---|
50 | rfloat_total(:,:) |
---|
51 | x5=rfloat_total(1:20,4) |
---|
52 | y5=rfloat_total(1:20,3) |
---|
53 | x5=x5+1; |
---|
54 | y5=y5+1; |
---|
55 | plot(x5(2),y5(2),'+') |
---|
56 | hold on |
---|
57 | plot(x5(19),y5(19),'>') |
---|
58 | hold on |
---|
59 | plot(x5(2:19),y5(2:19),'-g') |
---|
60 | hold on |
---|
61 | x6=rfloat_total(21:40,4) |
---|
62 | y6=rfloat_total(21:40,3) |
---|
63 | x6=x6+1; |
---|
64 | y6=y6+1; |
---|
65 | plot(x6(2),y6(2),'+') |
---|
66 | hold on |
---|
67 | plot(x6(19),y6(19),'>') |
---|
68 | hold on |
---|
69 | plot(x6(2:19),y6(2:19),'-g') |
---|
70 | hold on |
---|
71 | ls; |
---|
72 | x7=rfloat_total(41:60,4) |
---|
73 | y7=rfloat_total(41:60,3) |
---|
74 | x7=x7+1; |
---|
75 | y7=y7+1; |
---|
76 | plot(x7(2),y7(2),'+') |
---|
77 | hold on |
---|
78 | plot(x7(19),y7(19),'>') |
---|
79 | hold on |
---|
80 | plot(x7(2:19),y7(2:19),'-g') |
---|
81 | hold on |
---|
82 | ls; |
---|
83 | x8=rfloat_total(61:80,4) |
---|
84 | y8=rfloat_total(61:80,3) |
---|
85 | x8=x8+1; |
---|
86 | y8=y8+1; |
---|
87 | plot(x8(2),y8(2),'+') |
---|
88 | hold on |
---|
89 | plot(x8(19),y8(19),'>') |
---|
90 | hold on |
---|
91 | plot(x8(2:19),y8(2:19),'-g') |
---|
92 | hold on |
---|
93 | ls; |
---|
94 | |
---|
95 | |
---|
96 | load uv_total.dat |
---|
97 | X=uv_total(:,end-3); |
---|
98 | Y=uv_total(:,end-2); |
---|
99 | X=X+1; |
---|
100 | Y=Y+1; |
---|
101 | U1=uv_total(:,end-1); |
---|
102 | V1=uv_total(:,end); |
---|
103 | quiver(X,Y,U1,V1,'r'); |
---|
104 | |
---|
105 | |
---|
106 | load vel_bck_all.dat; |
---|
107 | whos; |
---|
108 | X=vel_bck_all(:,end-3); |
---|
109 | Y=vel_bck_all(:,end-2); |
---|
110 | U2=vel_bck_all(:,end-1); |
---|
111 | V2=vel_bck_all(:,end); |
---|
112 | quiver(X,Y,U2,V2,'b'); |
---|
113 | |
---|
114 | load vel_next_all.dat; |
---|
115 | whos; |
---|
116 | X=vel_next_all(:,end-3); |
---|
117 | Y=vel_next_all(:,end-2); |
---|
118 | U3=vel_next_all(:,end-1); |
---|
119 | V3=vel_next_all(:,end); |
---|
120 | quiver(X,Y,U3,V3,'g'); |
---|
121 | figure |
---|
122 | |
---|
123 | it=find(vel_next_all(:,1)==1); |
---|
124 | T1=reshape(vel_next_all(it,4),58,87); |
---|
125 | it=find(vel_next_all(:,1)==2); |
---|
126 | T2=reshape(vel_next_all(it,4),58,87); |
---|
127 | it=find(vel_next_all(:,1)==3); |
---|
128 | T3=reshape(vel_next_all(it,4),58,87); |
---|
129 | it=find(vel_next_all(:,1)==4); |
---|
130 | T4=reshape(vel_next_all(it,4),58,87); |
---|
131 | it=find(vel_next_all(:,1)==5); |
---|
132 | T5=reshape(vel_next_all(it,4),58,87); |
---|
133 | it=find(vel_next_all(:,1)==6); |
---|
134 | T6=reshape(vel_next_all(it,4),58,87); |
---|
135 | it=find(vel_next_all(:,1)==7); |
---|
136 | T7=reshape(vel_next_all(it,4),58,87); |
---|
137 | it=find(vel_next_all(:,1)==8); |
---|
138 | T8=reshape(vel_next_all(it,4),58,87); |
---|
139 | it=find(vel_next_all(:,1)==9); |
---|
140 | T9=reshape(vel_next_all(it,4),58,87); |
---|
141 | it=find(vel_next_all(:,1)==10); |
---|
142 | T10=reshape(vel_next_all(it,4),58,87); |
---|
143 | it=find(vel_next_all(:,1)==11); |
---|
144 | T11=reshape(vel_next_all(it,4),58,87); |
---|
145 | it=find(vel_next_all(:,1)==12); |
---|
146 | T12=reshape(vel_next_all(it,4),58,87); |
---|
147 | it=find(vel_next_all(:,1)==13); |
---|
148 | T13=reshape(vel_next_all(it,4),58,87); |
---|
149 | it=find(vel_next_all(:,1)==14); |
---|
150 | T14=reshape(vel_next_all(it,4),58,87); |
---|
151 | it=find(vel_next_all(:,1)==15); |
---|
152 | T15=reshape(vel_next_all(it,4),58,87); |
---|
153 | it=find(vel_next_all(:,1)==16); |
---|
154 | T16=reshape(vel_next_all(it,4),58,87); |
---|
155 | it=find(vel_next_all(:,1)==17); |
---|
156 | T17=reshape(vel_next_all(it,4),58,87); |
---|
157 | it=find(vel_next_all(:,1)==18); |
---|
158 | T18=reshape(vel_next_all(it,4),58,87); |
---|
159 | it=find(vel_next_all(:,1)==19); |
---|
160 | T19=reshape(vel_next_all(it,4),58,87); |
---|
161 | |
---|
162 | T=(T1+T2+T3+T4+T5+T6+T7+T8+T9+T10+T11+T12+T13+T14+T15+T16+T17+T18+T19)/19; |
---|
163 | |
---|
164 | it=find(vel_bck_all(:,1)==1); |
---|
165 | A1=reshape(vel_bck_all(it,4),58,87); |
---|
166 | it=find(vel_bck_all(:,1)==2); |
---|
167 | A2=reshape(vel_bck_all(it,4),58,87); |
---|
168 | it=find(vel_bck_all(:,1)==3); |
---|
169 | A3=reshape(vel_bck_all(it,4),58,87); |
---|
170 | it=find(vel_bck_all(:,1)==4); |
---|
171 | A4=reshape(vel_bck_all(it,4),58,87); |
---|
172 | it=find(vel_bck_all(:,1)==5); |
---|
173 | A5=reshape(vel_bck_all(it,4),58,87); |
---|
174 | it=find(vel_bck_all(:,1)==6); |
---|
175 | A6=reshape(vel_bck_all(it,4),58,87); |
---|
176 | it=find(vel_bck_all(:,1)==7); |
---|
177 | A7=reshape(vel_bck_all(it,4),58,87); |
---|
178 | it=find(vel_bck_all(:,1)==8); |
---|
179 | A8=reshape(vel_bck_all(it,4),58,87); |
---|
180 | it=find(vel_bck_all(:,1)==9); |
---|
181 | A9=reshape(vel_bck_all(it,4),58,87); |
---|
182 | it=find(vel_bck_all(:,1)==10); |
---|
183 | A10=reshape(vel_bck_all(it,4),58,87); |
---|
184 | it=find(vel_bck_all(:,1)==11); |
---|
185 | A11=reshape(vel_bck_all(it,4),58,87); |
---|
186 | it=find(vel_bck_all(:,1)==12); |
---|
187 | A12=reshape(vel_bck_all(it,4),58,87); |
---|
188 | it=find(vel_bck_all(:,1)==13); |
---|
189 | A13=reshape(vel_bck_all(it,4),58,87); |
---|
190 | it=find(vel_bck_all(:,1)==14); |
---|
191 | A14=reshape(vel_bck_all(it,4),58,87); |
---|
192 | it=find(vel_bck_all(:,1)==15); |
---|
193 | A15=reshape(vel_bck_all(it,4),58,87); |
---|
194 | it=find(vel_bck_all(:,1)==16); |
---|
195 | A16=reshape(vel_bck_all(it,4),58,87); |
---|
196 | it=find(vel_bck_all(:,1)==17); |
---|
197 | A17=reshape(vel_bck_all(it,4),58,87); |
---|
198 | it=find(vel_bck_all(:,1)==18); |
---|
199 | A18=reshape(vel_bck_all(it,4),58,87); |
---|
200 | it=find(vel_bck_all(:,1)==19); |
---|
201 | A19=reshape(vel_bck_all(it,4),58,87); |
---|
202 | |
---|
203 | A=(A1+A2+A3+A4+A5+A6+A7+A8+A9+A10+A11+A12+A13+A14+A15+A16+A17+A18+A19)/19; |
---|
204 | F=A.^2-T.^2 |
---|
205 | imagesc(F) |
---|
206 | |
---|
207 | figure |
---|
208 | it=find(uv_total(:,1)==1); |
---|
209 | I1=reshape(uv_total(it,4),58,87); |
---|
210 | it=find(uv_total(:,1)==2); |
---|
211 | I2=reshape(uv_total(it,4),58,87); |
---|
212 | it=find(uv_total(:,1)==3); |
---|
213 | I3=reshape(uv_total(it,4),58,87); |
---|
214 | it=find(uv_total(:,1)==4); |
---|
215 | I4=reshape(uv_total(it,4),58,87); |
---|
216 | it=find(uv_total(:,1)==5); |
---|
217 | I5=reshape(uv_total(it,4),58,87); |
---|
218 | it=find(uv_total(:,1)==6); |
---|
219 | I6=reshape(uv_total(it,4),58,87); |
---|
220 | it=find(uv_total(:,1)==7); |
---|
221 | I7=reshape(uv_total(it,4),58,87); |
---|
222 | it=find(uv_total(:,1)==8); |
---|
223 | I8=reshape(uv_total(it,4),58,87); |
---|
224 | it=find(uv_total(:,1)==9); |
---|
225 | I9=reshape(uv_total(it,4),58,87); |
---|
226 | it=find(uv_total(:,1)==10); |
---|
227 | I10=reshape(uv_total(it,4),58,87); |
---|
228 | it=find(uv_total(:,1)==11); |
---|
229 | I11=reshape(uv_total(it,4),58,87); |
---|
230 | it=find(uv_total(:,1)==12); |
---|
231 | I12=reshape(uv_total(it,4),58,87); |
---|
232 | it=find(uv_total(:,1)==13); |
---|
233 | I13=reshape(uv_total(it,4),58,87); |
---|
234 | it=find(uv_total(:,1)==14); |
---|
235 | I14=reshape(uv_total(it,4),58,87); |
---|
236 | it=find(uv_total(:,1)==15); |
---|
237 | I15=reshape(uv_total(it,4),58,87); |
---|
238 | it=find(uv_total(:,1)==16); |
---|
239 | I16=reshape(uv_total(it,4),58,87); |
---|
240 | it=find(uv_total(:,1)==17); |
---|
241 | I17=reshape(uv_total(it,4),58,87); |
---|
242 | it=find(uv_total(:,1)==18) |
---|
243 | I18=reshape(uv_total(it,4),58,87); |
---|
244 | it=find(uv_total(:,1)==19) |
---|
245 | I19=reshape(uv_total(it,4),58,87); |
---|
246 | |
---|
247 | I=(I1+I2+I3+I4+I5+I6+I7+I8+I9+I10+I11+I12+I13+I14+I15+I16+I17+I18+I19)/19; |
---|
248 | F1=A.^2-I.^2; |
---|
249 | imagesc(F1) |
---|
250 | |
---|
251 | F2=I.^2-T.^2; |
---|
252 | figure |
---|
253 | imagesc(F2) |
---|