Simple Data Cleaner
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)
Citar como
John Pritchard (2024). Simple Data Cleaner (https://www.mathworks.com/matlabcentral/fileexchange/33691-simple-data-cleaner), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Compatibilidad con las plataformas
Windows macOS LinuxCategorías
Etiquetas
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.
Versión | Publicado | Notas de la versión | |
---|---|---|---|
1.0.0.0 |