View License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from
Data compression by removing redundant points

2.8 | 4 ratings Rate this file 6 Downloads (last 30 days) File Size: 2.13 KB File ID: #39081 Version: 1.1
image thumbnail

Data compression by removing redundant points



19 Nov 2012 (Updated )

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

| Watch this File

File Information

The function removes redundant data points within EPS tolerance interval using GE Historian Compression algorithm (similar to Swinging Door algorithm) described here:

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 (6)
26 Nov 2014 Imran

Imran (view profile)

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.

Comment only
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"?

Comment only
19 Nov 2012 ses

ses (view profile)


27 Nov 2012 1.1

Demo files are added.

Contact us