root/applications/dual/SIDP/bakalarka/SIDP/matlab/jednoduchy system/finalni implementace/vyst2.asv @ 1351

Revision 1351, 7.6 kB (checked in by zimamiro, 13 years ago)
Line 
1function los=vyst2(regulator_parameters,system,apriori,N)
2los=zeros(4,3);
3
4%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
5regulator_parameters.horizont=5;
6apriori.P0=1;
7apriori.b0=0;
8[m los]=mc_study(regulator_parameters,system,apriori,N,[regulator_parameters.horizont apriori.P0 apriori.b0]);
9
10figure
11subpot(2,3,1)
12hist(min(los(1,:),10),100);    AXIS([0 10 0 150]);   
13title('P_0 = 1, {}_{^{\fontsize{18}\theta}}^{\fontsize{16}\^}_{0} = 0');set( get(gcf, 'Children'), 'FontSize', 18);set(get(get(gcf, 'Children'),'Title'), 'FontSize', 18);
14text(9.4,-8,'\fontsize{18}<')
15
16figure
17hist(min(los(2,:),10),100);    AXIS([0 10 0 150]);   TITLE('CC')
18title('P_0 = 1, {}_{^{\fontsize{18}\theta}}^{\fontsize{16}\^}_{0} = 0');set( get(gcf, 'Children'), 'FontSize', 18);set(get(get(gcf, 'Children'),'Title'), 'FontSize', 18);
19text(9.4,-8,'\fontsize{18}<')
20
21figure
22hist(min(los(3,:),10),100);    AXIS([0 10 0 150]);   TITLE('SIDP')
23title('P_0 = 1, {}_{^{\fontsize{18}\theta}}^{\fontsize{16}\^}_{0} = 0');set( get(gcf, 'Children'), 'FontSize', 18);set(get(get(gcf, 'Children'),'Title'), 'FontSize', 18);
24text(9.4,-8,'\fontsize{18}<')
25
26figure
27hist(min(los(4,:),10),100);    AXIS([0 10 0 150]);   TITLE('DP')
28title('P_0 = 1, {}_{^{\fontsize{18}\theta}}^{\fontsize{16}\^}_{0} = 0');set( get(gcf, 'Children'), 'FontSize', 18);set(get(get(gcf, 'Children'),'Title'), 'FontSize', 18);
29text(9.4,-8,'\fontsize{18}<')
30
31apriori.b0=1;
32[m los]=mc_study(regulator_parameters,system,apriori,N,[regulator_parameters.horizont apriori.P0 apriori.b0]);
33text(9.4,-8,'\fontsize{18}<')
34
35figure
36hist(min(los(1,:),10),100);    AXIS([0 10 0 150]);   
37title('P_0 = 1, {}_{^{\fontsize{18}\theta}}^{\fontsize{16}\^}_{0} = 1');set( get(gcf, 'Children'), 'FontSize', 18);set(get(get(gcf, 'Children'),'Title'), 'FontSize', 18);
38text(9.4,-8,'\fontsize{18}<')
39
40figure
41hist(min(los(2,:),10),100);    AXIS([0 10 0 150]);   TITLE('CC')
42title('P_0 = 1, {}_{^{\fontsize{18}\theta}}^{\fontsize{16}\^}_{0} = 1');set( get(gcf, 'Children'), 'FontSize', 18);set(get(get(gcf, 'Children'),'Title'), 'FontSize', 18);
43text(9.4,-8,'\fontsize{18}<')
44
45figure
46hist(min(los(3,:),10),100);    AXIS([0 10 0 150]);   TITLE('SIDP')
47title('P_0 = 1, {}_{^{\fontsize{18}\theta}}^{\fontsize{16}\^}_{0} = 1');set( get(gcf, 'Children'), 'FontSize', 18);set(get(get(gcf, 'Children'),'Title'), 'FontSize', 18);
48text(9.4,-8,'\fontsize{18}<')
49
50figure
51hist(min(los(4,:),10),100);    AXIS([0 10 0 150]);   TITLE('DP')
52title('P_0 = 1, {}_{^{\fontsize{18}\theta}}^{\fontsize{16}\^}_{0} = 1');set( get(gcf, 'Children'), 'FontSize', 18);set(get(get(gcf, 'Children'),'Title'), 'FontSize', 18);
53text(9.4,-8,'\fontsize{18}<')
54
55apriori.b0=10;
56[m los]=mc_study(regulator_parameters,system,apriori,N,[regulator_parameters.horizont apriori.P0 apriori.b0]);
57text(9.4,-8,'\fontsize{18}<')
58
59figure
60hist(min(los(1,:),10),100);    AXIS([0 10 0 150]);   
61title('P_0 = 1, {}_{^{\fontsize{18}\theta}}^{\fontsize{16}\^}_{0} = 10');set( get(gcf, 'Children'), 'FontSize', 18);set(get(get(gcf, 'Children'),'Title'), 'FontSize', 18);
62text(9.4,-8,'\fontsize{18}<')
63
64figure
65hist(min(los(2,:),10),100);    AXIS([0 10 0 150]);   TITLE('CC')
66title('P_0 = 1, {}_{^{\fontsize{18}\theta}}^{\fontsize{16}\^}_{0} = 10');set( get(gcf, 'Children'), 'FontSize', 18);set(get(get(gcf, 'Children'),'Title'), 'FontSize', 18);
67text(9.4,-8,'\fontsize{18}<')
68
69figure
70hist(min(los(3,:),10),100);    AXIS([0 10 0 150]);   TITLE('SIDP')
71title('P_0 = 1, {}_{^{\fontsize{18}\theta}}^{\fontsize{16}\^}_{0} = 10');set( get(gcf, 'Children'), 'FontSize', 18);set(get(get(gcf, 'Children'),'Title'), 'FontSize', 18);
72text(9.4,-8,'\fontsize{18}<')
73
74figure
75hist(min(los(4,:),10),100);    AXIS([0 10 0 150]);   TITLE('DP')
76title('P_0 = 1, {}_{^{\fontsize{18}\theta}}^{\fontsize{16}\^}_{0} = 10');set( get(gcf, 'Children'), 'FontSize', 18);set(get(get(gcf, 'Children'),'Title'), 'FontSize', 18);
77text(9.4,-8,'\fontsize{18}<')
78
79%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
80apriori.P0=10;
81apriori.b0=0;
82[m los]=mc_study(regulator_parameters,system,apriori,N,[regulator_parameters.horizont apriori.P0 apriori.b0]);
83text(9.4,-8,'\fontsize{18}<')
84
85figure
86hist(min(los(1,:),10),100);    AXIS([0 10 0 150]);   
87title('P_0 = 10, {}_{^{\fontsize{18}\theta}}^{\fontsize{16}\^}_{0} = 0');set( get(gcf, 'Children'), 'FontSize', 18);set(get(get(gcf, 'Children'),'Title'), 'FontSize', 18);
88text(9.4,-8,'\fontsize{18}<')
89
90figure
91hist(min(los(2,:),10),100);    AXIS([0 10 0 150]);   TITLE('CC')
92title('P_0 = 10, {}_{^{\fontsize{18}\theta}}^{\fontsize{16}\^}_{0} = 0');set( get(gcf, 'Children'), 'FontSize', 18);set(get(get(gcf, 'Children'),'Title'), 'FontSize', 18);
93text(9.4,-8,'\fontsize{18}<')
94
95figure
96hist(min(los(3,:),10),100);    AXIS([0 10 0 150]);   TITLE('SIDP')
97title('P_0 = 10, {}_{^{\fontsize{18}\theta}}^{\fontsize{16}\^}_{0} = 0');set( get(gcf, 'Children'), 'FontSize', 18);set(get(get(gcf, 'Children'),'Title'), 'FontSize', 18);
98text(9.4,-8,'\fontsize{18}<')
99
100figure
101hist(min(los(4,:),10),100);    AXIS([0 10 0 150]);   TITLE('DP')
102title('P_0 = 10, {}_{^{\fontsize{18}\theta}}^{\fontsize{16}\^}_{0} = 0');set( get(gcf, 'Children'), 'FontSize', 18);set(get(get(gcf, 'Children'),'Title'), 'FontSize', 18);
103text(9.4,-8,'\fontsize{18}<')
104
105apriori.b0=1;
106[m los]=mc_study(regulator_parameters,system,apriori,N,[regulator_parameters.horizont apriori.P0 apriori.b0]);
107
108figure
109hist(min(los(1,:),10),100);    AXIS([0 10 0 150]);   
110title('P_0 = 10, {}_{^{\fontsize{18}\theta}}^{\fontsize{16}\^}_{0} = 1');set( get(gcf, 'Children'), 'FontSize', 18);set(get(get(gcf, 'Children'),'Title'), 'FontSize', 18);
111text(9.4,-8,'\fontsize{18}<')
112
113figure
114hist(min(los(2,:),10),100);    AXIS([0 10 0 150]);   TITLE('CC')
115title('P_0 = 10, {}_{^{\fontsize{18}\theta}}^{\fontsize{16}\^}_{0} = 1');set( get(gcf, 'Children'), 'FontSize', 18);set(get(get(gcf, 'Children'),'Title'), 'FontSize', 18);
116text(9.4,-8,'\fontsize{18}<')
117
118figure
119hist(min(los(3,:),10),100);    AXIS([0 10 0 150]);   TITLE('SIDP')
120title('P_0 = 10, {}_{^{\fontsize{18}\theta}}^{\fontsize{16}\^}_{0} = 1');set( get(gcf, 'Children'), 'FontSize', 18);set(get(get(gcf, 'Children'),'Title'), 'FontSize', 18);
121text(9.4,-8,'\fontsize{18}<')
122
123figure
124hist(min(los(4,:),10),100);    AXIS([0 10 0 150]);   TITLE('DP')
125title('P_0 = 10, {}_{^{\fontsize{18}\theta}}^{\fontsize{16}\^}_{0} = 1');set( get(gcf, 'Children'), 'FontSize', 18);set(get(get(gcf, 'Children'),'Title'), 'FontSize', 18);
126text(9.4,-8,'\fontsize{18}<')
127
128apriori.b0=10;
129[m los]=mc_study(regulator_parameters,system,apriori,N,[regulator_parameters.horizont apriori.P0 apriori.b0]);
130
131figure
132hist(min(los(1,:),10),100);    AXIS([0 10 0 150]);   
133title('P_0 = 10, {}_{^{\fontsize{18}\theta}}^{\fontsize{16}\^}_{0} = 10');set( get(gcf, 'Children'), 'FontSize', 18);set(get(get(gcf, 'Children'),'Title'), 'FontSize', 18);
134text(9.4,-8,'\fontsize{18}<')
135
136figure
137hist(min(los(2,:),10),100);    AXIS([0 10 0 150]);   TITLE('CC')
138title('P_0 = 10, {}_{^{\fontsize{18}\theta}}^{\fontsize{16}\^}_{0} = 10');set( get(gcf, 'Children'), 'FontSize', 18);set(get(get(gcf, 'Children'),'Title'), 'FontSize', 18);
139text(9.4,-8,'\fontsize{18}<')
140
141figure
142hist(min(los(3,:),10),100);    AXIS([0 10 0 150]);   TITLE('SIDP')
143title('P_0 = 10, {}_{^{\fontsize{18}\theta}}^{\fontsize{16}\^}_{0} = 10');set( get(gcf, 'Children'), 'FontSize', 18);set(get(get(gcf, 'Children'),'Title'), 'FontSize', 18);
144text(9.4,-8,'\fontsize{18}<')
145
146figure
147hist(min(los(4,:),10),100);    AXIS([0 10 0 150]);   TITLE('DP')
148title('P_0 = 10, {}_{^{\fontsize{18}\theta}}^{\fontsize{16}\^}_{0} = 10');set( get(gcf, 'Children'), 'FontSize', 18);set(get(get(gcf, 'Children'),'Title'), 'FontSize', 18);
149text(9.4,-8,'\fontsize{18}<')
150
151end
Note: See TracBrowser for help on using the browser.