30 lines
720 B
Mathematica
30 lines
720 B
Mathematica
|
|
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;%<EFBFBD><EFBFBD>¼<EFBFBD><EFBFBD>ǰ<EFBFBD>õ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>У<EFBFBD><EFBFBD><EFBFBD>Ҫ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>100<EFBFBD><EFBFBD>
|
|||
|
|
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
|