Published January 6, 2017 | Version v1
Software Open

1-pass fixed-rate linear resampler in Matlab/Octave

  • 1. University of Piraeus (UniPi), Greece

Description

DESCRIPTION:

This is a template stand-alone code (no externals required) for a simple 1-pass fixed rate linear resampler. Specifically, the script can be used as-is or as base for a function, which take a series of pairs <t,x> and a requested fixed resampling rate and it produces a new series of <t',x'> using stepwise linear regressors.

The script includes a data sorting step against <t>, which is not implemented here internally and can be removed if the input data are already expected to be sorted. In case of no sorting step here, the script is completely 1-pass, which means that all elements of the two input vectors (ref. points) are read only once for the entire resampling process. This is particularly useful when this implementation is to be applied directly to extremely large input files (e.g. columns in .csv) with only minimal memory usage for the calculations and only sequential read mode for speed.

Note: This work is supported by the DART project (H2020): "Data-Driven Aircraft Trajectory Prediction Research" (http://dart-research.eu) and the Data Science Lab (http://www.datastories.org) at the University of Piraeus, Greece (http://www.unipi.gr).

Notes

AUTHOR: Harris Georgiou (MSc,PhD) - IS/IT Engineer (R&D) COPYRIGHT: Data Science Lab @ UniPi (c) 2017 - http://www.datastories.org LICENCE: Creative Commons (CC-BY-SA) 4.0/I - http://creativecommons.org

Files

README.txt

Files (224.5 kB)

Name Size Download all
md5:612d294eb77c1aeb4eed8d0be0c9510d
2.8 kB Preview Download
md5:8e63e1f0555d5cbc8f96ef17e9658802
221.6 kB Download