加入了各种统计值。
This commit is contained in:
30
@ForThesis/ForThesis.m
Normal file
30
@ForThesis/ForThesis.m
Normal file
@@ -0,0 +1,30 @@
|
||||
classdef ForThesis
|
||||
%UNTITLED Summary of this class goes here
|
||||
% Detailed explanation goes here
|
||||
|
||||
properties
|
||||
currentPos=0;
|
||||
sampleNum=0;
|
||||
LoadNum=0;
|
||||
PDArray=0;
|
||||
|
||||
QDArray=0;
|
||||
PGArray=0;
|
||||
QGArray=0;
|
||||
|
||||
end
|
||||
|
||||
methods
|
||||
function this=ForThesis(sampleNum,LoadNum)
|
||||
this.currentPos=0;%记录当前用到的列,不要超过100列
|
||||
this.sampleNum=sampleNum;
|
||||
this.LoadNum=LoadNum;
|
||||
this.PDArray=zeros(LoadNum,sampleNum);
|
||||
this.QDArray=zeros(LoadNum,sampleNum);
|
||||
this.PGArray=zeros(sampleNum,1);
|
||||
this.QGArray=zeros(sampleNum,1);
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
end
|
||||
Reference in New Issue
Block a user