15 lines
505 B
Matlab
15 lines
505 B
Matlab
clc
|
|
clear
|
|
percent=[0 10 20 30 40 50 60 70 80 90 100];
|
|
statDeviation=[0.003651 0.058995 0.0432499 0.048360 0.041104 0.036334 0.028265 0.013192 0.017754 0.001934 0.00077827];
|
|
maxDeviation=[0.11334 0.2 0.2 0.2 0.2 0.2 0.2 0.2 0.2 0.045225 0.02934];
|
|
subplot(2,1,1);
|
|
plot(percent,statDeviation,'k');
|
|
ylabel('统计误差(JS)');
|
|
xlabel('负荷实时数据可知情况/%');
|
|
axis([0,100,0,0.065]);
|
|
subplot(2,1,2);
|
|
plot(percent,maxDeviation,'k');
|
|
ylabel('最大偏差(JM)/%');
|
|
xlabel('负荷实时数据可知情况/%');
|
|
axis([0,100,0,0.22]); |