RECFIG12 Probability of exceeding V: Model (dash); data (dots)
Joint 2D CDF computed as int F(X1 | |
Computes and plots the empirical CDF | |
Prints a caption "made by WAFO" in current figure. | |
Control axis scaling and appearance. | |
Hold current graph. | |
Linearly spaced vector. | |
Semi-log scale plot. | |
Square wave generation. | |
Graph title. | |
X-axis label. | |
Y-axis label. |
01 function recfig12 02 % RECFIG12 Probability of exceeding V: Model (dash); data (dots) 03 % 04 05 06 % History 07 % Revised pab 12.06.2001 08 % changed from empdistr(V/Vrms,0,[x F],2); to empdistr(V/Vrms,[x F],2); 09 % By pab 10 global RECFIGNUM 11 if isempty(RECFIGNUM) 12 disp('You must start recdemo in order to run this script') 13 return 14 end 15 16 global V Vrms sphat 17 x=linspace(0,3.5)'; 18 F=dist2dcdf(x,20,sphat,0); 19 empdistr(V/Vrms,[x F],2); 20 hold on, 21 semilogy(x(F<1),1-F(F(:)<1),'r--') 22 hold off 23 xlabel('v') 24 ylabel('1-F(v)') 25 title('') 26 axis([0 3.5 1e-4 1]) 27 axis square 28 wafostamp('Figure 12','(NR)')
Comments or corrections to the WAFO group