pes2014-wronglowervoltagebound/@ForThesis/MaxDeviation.asv

8 lines
236 B
Plaintext
Raw Normal View History

2013-01-21 21:47:54 +08:00
function MaxDeviation(this,PG0,QG0,PD0,QD0)
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()
end