-
10种软件滤波方法的示例程序
1、限副滤波
/* A值可根据实际情况调整
value为有效值,new_value为当前采样值
滤波程序返...
10种软件滤波方法的示例程序
1、限副滤波
/* A值可根据实际情况调整
value为有效值,new_value为当前采样值
滤波程序返回有效的实际值 */
#define A 10
char value
char filter()
{
char new_value
new_value = get_ad()
if ( ( new_value - value > A ) || ( value - new_value > A )
return value
return new_value
}
2、中位值滤波法
/* N值可根据实际情况调整
排序采用冒泡法*/-10 kinds of software filtering method one example of the procedure, limit the Deputy filter/* A value can be adjusted according to the actual value for the RMS, new_value filter for the current sampling procedures for the effective return of the actual value* /# define A 10 char value char filter () (char new_value new_value = get_ad () if ((new_value- value> A) | | (value- new_value> A) return value return new_value ) 2, the median filtering method/* N values can be adjust the actual situation in the use of bubble sort method* /
- 2023-08-29 16:45:03下载
- 积分:1
-
147497_ALTERA_ACEX1K.pdf introduce alter acex1k series chip
147497_ALTERA_ACEX1K.pdf介绍alter acex1k系列芯片-147497_ALTERA_ACEX1K.pdf introduce alter acex1k series chip
- 2022-06-30 07:45:41下载
- 积分:1
-
WinReg文件格式
WinReg文件格式-WinReg file format
- 2023-02-15 12:45:03下载
- 积分:1
-
RTC时实时钟的ARM描述
RTC时实时钟的ARM描述-RTC clock when the ARM real-time description of
- 2022-07-12 14:42:04下载
- 积分:1
-
风电场的暂态仿真,利用matlab建模仿真,研究暂态性能
风电场的暂态仿真,利用matlab建模仿真,研究暂态性能-Research on Improving Transient Voltage Stability of Wind Farm by STATCOM
- 2022-03-13 16:23:10下载
- 积分:1
-
TGA格式,英文完全版,经典,有想了解TGA的可以下载
TGA格式,英文完全版,经典,有想了解TGA的可以下载-TGA format, full version in English, classics, and have wanted to know the TGA can be downloaded
- 2022-05-08 11:11:23下载
- 积分:1
-
Writing for the graduation project word document format (catalog, index and othe...
针对毕业设计word文档写作格式(目录、索引等操作)-Writing for the graduation project word document format (catalog, index and other operations)
- 2022-08-21 12:55:59下载
- 积分:1
-
a pictures for desktop
a pictures for desktop
- 2022-05-30 16:43:14下载
- 积分:1
-
在Java出现之前,编写多线程程序是一件烦琐且伴随许多不安全因素的事情。利用Java,编写安全高效的多线程程序变得简单,而且利用多线程和Java的网络包我们可以...
在Java出现之前,编写多线程程序是一件烦琐且伴随许多不安全因素的事情。利用Java,编写安全高效的多线程程序变得简单,而且利用多线程和Java的网络包我们可以方便的实现多线程服务器程序。-In Java before, the preparation of multi-threaded process is a cumbersome and unsafe factors associated with many things. The use of Java, the preparation of safe and efficient multi-threaded process becomes simple and the use of multi-threading and Java network packages that we can facilitate the realization of multi-threaded server program.
- 2022-08-07 10:57:50下载
- 积分:1
-
北大出版社的<<工程数学>>下册,值得参考,是个好东东....
北大出版社的下册,值得参考,是个好东东.-Beijing University Press
- 2022-09-27 23:55:10下载
- 积分:1