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