Simple Data Cleaner

版本 1.0.0.0 (1.4 KB) 作者: John Pritchard
Simple filter to convert noisy data of arbitrary amplitude to 1s and 0s.
363.0 次下载
更新时间 2011/11/9

查看许可证

This is a simple filter that converts noisy data of arbitrary amplitude to 1s and 0s.

The input is an array of the raw data, and a new array of 1s and 0s of equivalent array length is returned.

The function uses simple edge detection. The maximum and minimum amplitude of the array is stored, and the edge is defined as their average. More involved methods of edge detection recommended for highly sensitive data.

The 'cleaned' data can be plotted by specifying a second input argument (it can be any integer).

Example of use:
[clean_data] = rxClean(raw_data)
OR
[clean_data] = rxClean(raw_data,1)

引用格式

John Pritchard (2024). Simple Data Cleaner (https://www.mathworks.com/matlabcentral/fileexchange/33691-simple-data-cleaner), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2009b
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Digital Filtering 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.0.0.0