Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed
GPA.h
00001 class GPA 00002 { 00003 public: 00004 00005 GPA(float fMin, float fMax, int NfexcDes, int NperMin, int NmeasMin, float Ts, float Aexc0, float Aexc1); 00006 00007 float operator()(float inp, float out) { 00008 return update(inp, out); 00009 } 00010 00011 virtual ~GPA(); 00012 00013 void reset(); 00014 float update(float inp, float out); 00015 00016 void printGPAfexcDes(); 00017 void printGPAmeasPara(); 00018 void printGPAmeasTime(); 00019 00020 private: 00021 00022 int NfexcDes; 00023 int NperMin; 00024 int NmeasMin; 00025 float Ts; 00026 float *fexcDes; 00027 float aAexcDes; 00028 float bAexcDes; 00029 00030 float fnyq; 00031 float pi2; 00032 float pi2Ts; 00033 float piDiv2; 00034 00035 int Nmeas; 00036 int Nper; 00037 float fexc; 00038 float fexcPast; 00039 int ii; 00040 int jj; 00041 float scaleG; 00042 float cr; 00043 float ci; 00044 float *sU; 00045 float *sY; 00046 float sinarg; 00047 int NmeasTotal; 00048 float Aexc; 00049 float pi2Tsfexc; 00050 00051 void fexcDesLogspace(float fMin, float fMax, int NfexcDes); 00052 void calcGPAmeasPara(float fexcDes_i); 00053 void printLine(); 00054 00055 };
Generated on Mon Jul 18 2022 18:17:56 by
1.7.2