把PQQG作为常数加入潮流方程中。
添加了很多统计函数。
This commit is contained in:
12
@ForThesis/PercentOfPass.m
Normal file
12
@ForThesis/PercentOfPass.m
Normal file
@@ -0,0 +1,12 @@
|
||||
function [ output_args ] = PercentOfPass( this, PG0,QG0,PD0,QD0 )
|
||||
%% 估计值合格率
|
||||
PD=this.PDArray(:,end);%用最后一列
|
||||
QD=this.QDArray(:,end);%用最后一列
|
||||
t1=PD-PD0;
|
||||
t2=QD-QD0;
|
||||
t3=abs(t1)/3*0.05;
|
||||
t4=abs(t2)/3*0.05;
|
||||
output_args=sum(t3<=1)+sum(t4<=1);
|
||||
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user