greypidcontrol.h

来自「而灰色PID控制算法」· C头文件 代码 · 共 35 行

H
35
字号
#pragma once

#include "resource.h"
#include "matrix.h"
#include "math.h"
#define nNumRow 2
#define nNumColoumn 3
#define nSize nNumRow*nNumColoumn
#define NSize nNumColoumn*nNumColoumn
class greyPIDcontrol
{
  public:
	  double x[nNumRow];
	  int nNumRows;
	  int nNumCols;
	  int simStep;
	  double D[nNumColoumn];
	  double D1[nNumColoumn];
	  double Ve[nNumColoumn];
	  CMatrix data;
	  greyPIDcontrol(int nRows,int nCols);

	 // virtual ~greyPIDcontrol();
	  CMatrix initDataMatrix(double ts);
	  CMatrix AGOmatrix(CMatrix mat);
	  CMatrix dataMatrixB(CMatrix mat);
	  void data_Dk(CMatrix mat,double ts);
	  void AGO_D1k(double value[]);
	  void paramaterVectorEstimation(CMatrix mat);
	  void dynamicModel(double dx[],double x[],double h);
	  void rungeKutta4(double x[],int k,double h);
		  

};

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?