Code covered by the BSD License  

Highlights from
Simple Data Cleaner

Be the first to rate this file! 10 Downloads (last 30 days) File Size: 1.39 KB File ID: #33691
image thumbnail

Simple Data Cleaner

by

 

Simple filter to convert noisy data of arbitrary amplitude to 1s and 0s.

| Watch this File

File Information
Description

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)

Required Products MATLAB
MATLAB release MATLAB 7.9 (R2009b)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.

Contact us