⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 greypidcontrol.h

📁 而灰色PID控制算法
💻 H
字号:
#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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -