-
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
-
software engineering outline
软件工程概要说明-software engineering outline
- 2022-03-22 13:05:10下载
- 积分:1
-
integrated wiring system design and on budget case
综合布线系统方案设计及预算案例讲解-integrated wiring system design and on budget case
- 2023-07-15 20:05:04下载
- 积分:1
-
write up flash disk file system developing,it is very useful for you.
详细描述关于U盘的文件系统的开发,资料绝对很有用-write up flash disk file system developing,it is very useful for you.
- 2023-04-12 09:40:11下载
- 积分:1
-
用于电机控制的脉冲宽度调制技术。
Pulse Width modulation techniques for motor control.
- 2022-04-30 18:29:31下载
- 积分:1
-
M16驱动LCM128645,液晶芯片ST7920
M16驱动LCM128645,液晶芯片ST7920-M16 driver LCM128645, LCD chip ST7920
- 2022-03-17 04:53:14下载
- 积分:1
-
一篇全面介绍MIMO的经典文章。推荐入门者下载
一篇全面介绍MIMO的经典文章。推荐入门者下载-MIMO a comprehensive presentation of the classic articles. Download recommend beginners
- 2022-07-07 16:54:44下载
- 积分:1
-
武汉大学 朱庆教授主讲的DTM的PPT希望对大家有帮助。
武汉大学 朱庆教授主讲的DTM的PPT希望对大家有帮助。-Wuhan University Professor Zhu Qing topics of the PPT DTM hope to be helpful.
- 2023-05-03 06:15:07下载
- 积分:1
-
自制0
自制0-30V线性可调稳压电源,含电路图及详细制作过程-Self-made adjustable 0-30V linear regulated power supply, including circuit diagrams and detailed production process
- 2022-03-22 09:41:35下载
- 积分:1
-
中国电信产品与服务市场细分研究报告
中国电信产品与服务市场细分研究报告...
中国电信产品与服务市场细分研究报告
中国电信产品与服务市场细分研究报告-China Telecom products and services market segmentation study China
- 2023-08-01 21:30:03下载
- 积分:1