pes2014/@ForThesis/StatDeviation.asv

16 lines
474 B
Plaintext
Raw Permalink Normal View History

2013-01-21 21:47:54 +08:00
function [ output_args ] = StatDeviation( this,PG0,QG0,PD0,QD0 )%ͳ<><CDB3><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
%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