source: altifloat/matlab_toolbox/altifloat5 @ 199

Last change on this file since 199 was 129, checked in by jbrlod, 10 years ago

last version of Varanth

  • Property svn:executable set to *
File size: 1.6 KB
Line 
1% 4floaters each one 5 pts
2ls
3load obs_float_test.dat
4whos;
5X=obs_float_test (:,:)
6[m,n]=size(X)
7x1=obs_float_test (1:2:8,4)
8y1=obs_float_test (2:2:8,4)
9x1=x1+1;
10y1=y1+1;
11plot(x1(1),y1(1),'+')
12hold on
13plot(x1(4),y1(4),'>')
14hold on
15plot(x1(1:4),y1(1:4),'-r')
16hold on
17x2=obs_float_test (9:2:16,4)
18y2=obs_float_test (10:2:16,4)
19x2=x2+1;
20y2=y2+1;
21plot(x2(1),y2(1),'+')
22hold on
23plot(x2(4),y2(4),'>')
24hold on
25plot(x2(1:4),y2(1:4),'-b')
26hold on
27x3=obs_float_test (17:2:24,4)
28y3=obs_float_test (18:2:24,4)
29x3=x3+1;
30y3=y3+1;
31plot(x3(1),y3(1),'+')
32hold on
33plot(x3(4),y3(4),'>')
34hold on
35plot(x3(1:4),y3(1:4),'-y')
36hold on
37load r_float_optim25float-filtre15-inc_16.dat;
38whos;
39r_float_optim25float_filtre15_inc_16(1:end,:)
40x4=r_float_optim25float_filtre15_inc_16(1:6:24,4)
41y4=r_float_optim25float_filtre15_inc_16(4:6:24,4)
42x4=x4+1;
43y4=y4+1;
44plot(x4(1),y4(1),'+')
45hold on
46plot(x4(4),y4(4),'>')
47hold on
48plot(x4(1:4),y4(1:4),'-g')
49hold on
50x5=r_float_optim25float_filtre15_inc_16(2:6:24,4)
51y5=r_float_optim25float_filtre15_inc_16(5:6:24,4)
52x5=x5+1;
53y5=y5+1;
54plot(x5(1),y5(1),'+')
55hold on
56plot(x5(4),y5(4),'>')
57hold on
58plot(x5(1:4),y5(1:4),'-g')
59hold on
60x6=r_float_optim25float_filtre15_inc_16(3:6:24,4)
61y6=r_float_optim25float_filtre15_inc_16(6:6:24,4)
62x6=x6+1;
63y6=y6+1;
64plot(x6(1),y6(1),'+')
65hold on
66plot(x6(4),y6(4),'>')
67hold on
68plot(x6(1:4),y6(1:4),'-g')
69hold on
70ls;
71load uoptim25float-filtre15-inc16.dat;
72whos;
73X=uoptim25float_filtre15_inc16(:,end-2);
74Y=uoptim25float_filtre15_inc16(:,end-1);
75U=uoptim25float_filtre15_inc16(:,end);
76ls;
77load voptim25float-filtre15-inc16.dat;
78whos;
79V=voptim25float_filtre15_inc16(:,end);
80quiver(X,Y,U,V,'k');
Note: See TracBrowser for help on using the repository browser.