1 | function los=vyst4(regulator_parameters,system,apriori,N) |
---|
2 | los=zeros(4,3); |
---|
3 | |
---|
4 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
---|
5 | regulator_parameters.horizont=5; |
---|
6 | apriori.P0=1; |
---|
7 | apriori.b0=0; |
---|
8 | los(:,1)=mc_study(regulator_parameters,system,apriori,N,[regulator_parameters.horizont 10 apriori.b0]); |
---|
9 | |
---|
10 | apriori.b0=1; |
---|
11 | los(:,2)=mc_study(regulator_parameters,system,apriori,N,[regulator_parameters.horizont 10 apriori.b0]); |
---|
12 | |
---|
13 | apriori.b0=10; |
---|
14 | los(:,3)=mc_study(regulator_parameters,system,apriori,N,[regulator_parameters.horizont 10 apriori.b0]); |
---|
15 | |
---|
16 | figure |
---|
17 | |
---|
18 | bar(los,'grouped') |
---|
19 | colormap summer |
---|
20 | set(gca,'ylim',[0 10]) |
---|
21 | |
---|
22 | title('\fontsize{18} N = 5, P_0 = 1') |
---|
23 | legend('{}_{^{\fontsize{18}\theta}}^{\fontsize{16}\^}_{0} = 0','{}_{^{\fontsize{18}\theta}}^{\fontsize{16}\^}_{0} = 1','{}_{^{\fontsize{18}\theta}}^{\fontsize{16}\^}_{0} = 10') |
---|
24 | set(gca,'xtick',[]); |
---|
25 | text(0.6,-0.5,'\fontsize{18} CEC') |
---|
26 | text(1.75,-0.5,'\fontsize{18} CC') |
---|
27 | text(2.65,-0.5,'\fontsize{18} SIDP') |
---|
28 | text(3.75,-0.5,'\fontsize{18} DP') |
---|
29 | set( get(gcf, 'Children'), 'FontSize', 18); |
---|
30 | text(-0.5,10,'\fontsize{18}<') |
---|
31 | |
---|
32 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
---|
33 | apriori.P0=10; |
---|
34 | apriori.b0=0; |
---|
35 | los(:,1)=mc_study(regulator_parameters,system,apriori,N,[regulator_parameters.horizont 10 apriori.b0]); |
---|
36 | |
---|
37 | apriori.b0=1; |
---|
38 | los(:,2)=mc_study(regulator_parameters,system,apriori,N,[regulator_parameters.horizont 10 apriori.b0]); |
---|
39 | |
---|
40 | apriori.b0=10; |
---|
41 | los(:,3)=mc_study(regulator_parameters,system,apriori,N,[regulator_parameters.horizont 10 apriori.b0]); |
---|
42 | |
---|
43 | figure |
---|
44 | |
---|
45 | bar(los,'grouped') |
---|
46 | colormap summer |
---|
47 | set(gca,'ylim',[0 10]) |
---|
48 | |
---|
49 | title('\fontsize{18} N = 5, P_0 = 10') |
---|
50 | legend('{}_{^{\fontsize{18}\theta}}^{\fontsize{16}\^}_{0} = 0','{}_{^{\fontsize{18}\theta}}^{\fontsize{16}\^}_{0} = 1','{}_{^{\fontsize{18}\theta}}^{\fontsize{16}\^}_{0} = 10') |
---|
51 | set(gca,'xtick',[]); |
---|
52 | text(0.6,-0.5,'\fontsize{18} CEC') |
---|
53 | text(1.75,-0.5,'\fontsize{18} CC') |
---|
54 | text(2.65,-0.5,'\fontsize{18} SIDP') |
---|
55 | text(3.75,-0.5,'\fontsize{18} DP') |
---|
56 | set( get(gcf, 'Children'), 'FontSize', 18); |
---|
57 | text(-0.5,10,'\fontsize{18}<') |
---|
58 | |
---|
59 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
---|
60 | regulator_parameters.horizont=10; |
---|
61 | apriori.P0=1; |
---|
62 | apriori.b0=0; |
---|
63 | los(:,1)=mc_study(regulator_parameters,system,apriori,N,[regulator_parameters.horizont 10 apriori.b0]); |
---|
64 | |
---|
65 | apriori.b0=1; |
---|
66 | los(:,2)=mc_study(regulator_parameters,system,apriori,N,[regulator_parameters.horizont 10 apriori.b0]); |
---|
67 | |
---|
68 | apriori.b0=10; |
---|
69 | los(:,3)=mc_study(regulator_parameters,system,apriori,N,[regulator_parameters.horizont 10 apriori.b0]); |
---|
70 | |
---|
71 | figure |
---|
72 | |
---|
73 | bar(los,'grouped') |
---|
74 | colormap summer |
---|
75 | set(gca,'ylim',[0 10]) |
---|
76 | |
---|
77 | title('\fontsize{18} N = 10, P_0 = 1') |
---|
78 | legend('{}_{^{\fontsize{18}\theta}}^{\fontsize{16}\^}_{0} = 0','{}_{^{\fontsize{18}\theta}}^{\fontsize{16}\^}_{0} = 1','{}_{^{\fontsize{18}\theta}}^{\fontsize{16}\^}_{0} = 10') |
---|
79 | set(gca,'xtick',[]); |
---|
80 | text(0.6,-0.5,'\fontsize{18} CEC') |
---|
81 | text(1.75,-0.5,'\fontsize{18} CC') |
---|
82 | text(2.65,-0.5,'\fontsize{18} SIDP') |
---|
83 | text(3.75,-0.5,'\fontsize{18} DP') |
---|
84 | set( get(gcf, 'Children'), 'FontSize', 18); |
---|
85 | text(-0.5,10,'\fontsize{18}<') |
---|
86 | |
---|
87 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
---|
88 | apriori.P0=10; |
---|
89 | apriori.b0=0; |
---|
90 | los(:,1)=mc_study(regulator_parameters,system,apriori,N,[regulator_parameters.horizont 10 apriori.b0]); |
---|
91 | |
---|
92 | apriori.b0=1; |
---|
93 | los(:,2)=mc_study(regulator_parameters,system,apriori,N,[regulator_parameters.horizont 10 apriori.b0]); |
---|
94 | |
---|
95 | apriori.b0=10; |
---|
96 | los(:,3)=mc_study(regulator_parameters,system,apriori,N,[regulator_parameters.horizont 10 apriori.b0]); |
---|
97 | |
---|
98 | figure |
---|
99 | |
---|
100 | bar(los,'grouped') |
---|
101 | colormap summer |
---|
102 | set(gca,'ylim',[0 10]) |
---|
103 | |
---|
104 | title('\fontsize{18} N = 10, P_0 = 10') |
---|
105 | legend('{}_{^{\fontsize{18}\theta}}^{\fontsize{16}\^}_{0} = 0','{}_{^{\fontsize{18}\theta}}^{\fontsize{16}\^}_{0} = 1','{}_{^{\fontsize{18}\theta}}^{\fontsize{16}\^}_{0} = 10') |
---|
106 | set(gca,'xtick',[]); |
---|
107 | text(0.6,-0.5,'\fontsize{18} CEC') |
---|
108 | text(1.75,-0.5,'\fontsize{18} CC') |
---|
109 | text(2.65,-0.5,'\fontsize{18} SIDP') |
---|
110 | text(3.75,-0.5,'\fontsize{18} DP') |
---|
111 | set( get(gcf, 'Children'), 'FontSize', 18); |
---|
112 | text(-0.5,10,'\fontsize{18}<') |
---|
113 | |
---|
114 | end |
---|