加入了各种统计值。
This commit is contained in:
15
@ForThesis/StatDeviation.asv
Normal file
15
@ForThesis/StatDeviation.asv
Normal file
@@ -0,0 +1,15 @@
|
||||
function [ output_args ] = StatDeviation( this,PG0,QG0,PD0,QD0 )%ͳ¼ÆÎó²î
|
||||
%STATDEVIATION Summary of this function goes here
|
||||
% Detailed explanation goes here
|
||||
|
||||
PD0Array=repmat(PD0,1,this.sampleNum);
|
||||
QD0Array=repmat(QD0,1,this.sampleNum);
|
||||
PDMaxDev=max(abs(this.PDArray-PD0Array),[],2);
|
||||
QDMaxDev=max(abs(this.QDArray-QD0Array),[],2);
|
||||
PG0Array=repmat(PG0,this.sampleNum,1);
|
||||
QG0Array=repmat(QG0,this.sampleNum,1);
|
||||
PGMaxDev=max(abs(PG0Array));
|
||||
QGMaxDev=max(abs(QG0Array));
|
||||
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user