Code covered by the BSD License  

Highlights from
Data compression by removing redundant points

3.33333

3.3 | 3 ratings Rate this file 14 Downloads (last 30 days) File Size: 2.13 KB File ID: #39081
image thumbnail

Data compression by removing redundant points

by

 

19 Nov 2012 (Updated )

The function removes redundant data points from the 2D data.

| Watch this File

File Information
Description

The function removes redundant data points within EPS tolerance interval using GE Historian Compression algorithm (similar to Swinging Door algorithm) described here: http://www.evsystems.net/files/GE_Historian_Compression_Overview.ppt

MATLAB release MATLAB 7.10 (R2010a)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (5)
15 Nov 2013 Ronan CIMADURE  
07 Aug 2013 Yuriy Skalko

Thank you for feedback, Per.

I've tried your sample inputs and cannot see any problem with compressed outputs. The last point is always included into output points. Could you send the output that you expected?

I have no much experience with Swinging Door algorithm, but it has approximately the same compression level as GE Historian. I don't have data, used on this slide and will be unable to explain achieved compression ratio in this example.

24 Jul 2013 per isakson

Thank you for this code and the reference.

I think, there is a minor problem with logic of the while-loop. The second last point cannot be included in the compressed sequence, (xc,yc).

This set of input data illustrates the problem.

y = [1.0,1.1,1.2,1.1,0.9,0.7,0.3,2.1,2.0,2.0,1.7];
x = ( 1 : length( x ) );
eps = 0.1;

The second last slide in the ppt-file shows a comparison between two compression methods. I'm not sure what "xH" refers to, but it ought to be "GE Historian". If that is the case, I cannot understand the large difference in compression ratio between the two.

19 Nov 2012 Yuriy Skalko

Hello, ses. What you mean by "XCV"?

19 Nov 2012 ses

XCV

Updates
27 Nov 2012

Demo files are added.

Contact us