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