root/applications/dual/SIDP/SIDPS/matlab/rid_y0.m @ 1197

Revision 1185, 0.6 kB (checked in by zimamiro, 14 years ago)
Line 
1function rid_y0(sidp_parameters, compare_parameters,system,apriori,N)
2m=4;
3col=['b' 'g' 'r' 'c' 'm'];
4n=10;
5quality=zeros(1,n+1);
6apriori.b0=0;
7apriori.P0=10;
8y_max=apriori.y0;
9figure
10for j=1:m;
11    q=0;
12    apriori.Hc=j-1;
13    sidp3(sidp_parameters, compare_parameters,system,apriori);
14    for i=0:n
15        q=q+1;
16        apriori.y0=i*y_max/n;
17        los=mc_study(system,apriori,N);
18        quality(q)=los(2)/los(3);
19    end
20    plot((0:n)*y_max/n,quality(1,:),['',col(j)]); hold on
21end
22xlabel('\fontsize{18} y_0'); ylabel('\fontsize{18} relativn�tr�');
23legend('0)','1)','2)','3)');
24set( get(gcf, 'Children'), 'FontSize', 18);
25end
Note: See TracBrowser for help on using the browser.