root/applications/dual/SIDP/Kopie (2) - finalni implementace/vyst3.m @ 1312

Revision 1113, 1.0 kB (checked in by zimamiro, 14 years ago)
Line 
1function los=vyst3(regulator_parameters,system,apriori,N)
2los=zeros(3,4);
3
4regulator_parameters.horizont=5;
5apriori.P0=10;
6apriori.b0=1;
7a=1;
8los(:,1)=mc_study2(regulator_parameters,system,apriori,N,[regulator_parameters.horizont apriori.P0 apriori.b0],a);
9
10a=0;
11los(:,2)=mc_study2(regulator_parameters,system,apriori,N,[regulator_parameters.horizont apriori.P0 apriori.b0],a);
12
13a=-1;
14los(:,3)=mc_study2(regulator_parameters,system,apriori,N,[regulator_parameters.horizont apriori.P0 apriori.b0],a);
15
16a=-10;
17los(:,4)=mc_study2(regulator_parameters,system,apriori,N,[regulator_parameters.horizont apriori.P0 apriori.b0],a);
18
19figure
20
21bar(los','grouped')
22colormap summer
23set(gca,'ylim',[0 10])
24
25title('\fontsize{18}  \theta = 1, P_0 = 10')
26legend('CC','SIDP','DP');
27set(gca,'xtick',[]);
28text(0.8,-0.5,'\fontsize{18} 1')
29text(1.85,-0.5,'\fontsize{18} 0')
30text(2.75,-0.5,'\fontsize{18} -1')
31text(3.7,-0.5,'\fontsize{18} -10')
32set( get(gcf, 'Children'), 'FontSize', 18);
33text(-0.5,10,'\fontsize{18}<')
34
35end
Note: See TracBrowser for help on using the browser.