root/applications/dual/SIDP/transformace(3)/mc_study.asv
@
1107
Revision 1105, 359 bytes (checked in by zimamiro, 15 years ago) |
---|
Line | |
---|---|
1 | function [losses1 losses2]=mc_study(regulator_parameters,system,n) |
2 | |
3 | losses1=zeros(1,n); |
4 | losses2=zeros(1,n); |
5 | [H u]=load_H; |
6 | for i=1:n |
7 | system.b=10*rand()-5; |
8 | apriori= |
9 | while (system.b==0) |
10 | system.b=10*rand()-5; |
11 | end |
12 | losses1(i)=ce(regulator_parameters,system,apriori); |
13 | losses2(i)=rizeni(H,u,system,apriori); |
14 | |
15 | end |
16 | end |
Note: See TracBrowser
for help on using the browser.