Software Open Access

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

Harris Georgiou


MARC21 XML Export

<?xml version='1.0' encoding='UTF-8'?>
<record xmlns="http://www.loc.gov/MARC21/slim">
  <leader>00000nmm##2200000uu#4500</leader>
  <datafield tag="540" ind1=" " ind2=" ">
    <subfield code="u">http://creativecommons.org/licenses/by-sa/4.0/legalcode</subfield>
    <subfield code="a">Creative Commons Attribution Share Alike 4.0 International</subfield>
  </datafield>
  <datafield tag="260" ind1=" " ind2=" ">
    <subfield code="c">2017-01-06</subfield>
  </datafield>
  <controlfield tag="005">20170908074436.0</controlfield>
  <datafield tag="500" ind1=" " ind2=" ">
    <subfield code="a">AUTHOR:       Harris Georgiou (MSc,PhD) - IS/IT Engineer (R&amp;D)
COPYRIGHT: Data Science Lab @ UniPi (c) 2017 - http://www.datastories.org
LICENCE:       Creative Commons (CC-BY-SA) 4.0/I - http://creativecommons.org</subfield>
  </datafield>
  <controlfield tag="001">232221</controlfield>
  <datafield tag="909" ind1="C" ind2="O">
    <subfield code="p">software</subfield>
    <subfield code="o">oai:zenodo.org:232221</subfield>
  </datafield>
  <datafield tag="520" ind1=" " ind2=" ">
    <subfield code="a">&lt;p&gt;DESCRIPTION:&lt;/p&gt;

&lt;p&gt;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 &amp;lt;t,x&amp;gt; and a requested fixed resampling rate and it produces a new series of &amp;lt;t',x'&amp;gt; using stepwise linear regressors.&lt;/p&gt;

&lt;p&gt;The script includes a data sorting step against &amp;lt;t&amp;gt;, 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.&lt;/p&gt;

&lt;p&gt;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).&lt;/p&gt;</subfield>
  </datafield>
  <datafield tag="856" ind1="4" ind2=" ">
    <subfield code="s">2820</subfield>
    <subfield code="z">md5:612d294eb77c1aeb4eed8d0be0c9510d</subfield>
    <subfield code="u">https://zenodo.org/record/232221/files/README.txt</subfield>
  </datafield>
  <datafield tag="856" ind1="4" ind2=" ">
    <subfield code="s">221645</subfield>
    <subfield code="z">md5:8e63e1f0555d5cbc8f96ef17e9658802</subfield>
    <subfield code="u">https://zenodo.org/record/232221/files/resampl1.7z</subfield>
  </datafield>
  <datafield tag="542" ind1=" " ind2=" ">
    <subfield code="l">open</subfield>
  </datafield>
  <datafield tag="980" ind1=" " ind2=" ">
    <subfield code="a">software</subfield>
  </datafield>
  <datafield tag="100" ind1=" " ind2=" ">
    <subfield code="u">University of Piraeus (UniPi), Greece</subfield>
    <subfield code="a">Harris Georgiou</subfield>
  </datafield>
  <datafield tag="653" ind1=" " ind2=" ">
    <subfield code="a">signal processing</subfield>
  </datafield>
  <datafield tag="653" ind1=" " ind2=" ">
    <subfield code="a">timeseries analysis</subfield>
  </datafield>
  <datafield tag="653" ind1=" " ind2=" ">
    <subfield code="a">linear interpolation</subfield>
  </datafield>
  <datafield tag="653" ind1=" " ind2=" ">
    <subfield code="a">signal resampling</subfield>
  </datafield>
  <datafield tag="653" ind1=" " ind2=" ">
    <subfield code="a">Matlab</subfield>
  </datafield>
  <datafield tag="653" ind1=" " ind2=" ">
    <subfield code="a">Octave</subfield>
  </datafield>
  <datafield tag="024" ind1=" " ind2=" ">
    <subfield code="a">10.5281/zenodo.232221</subfield>
    <subfield code="2">doi</subfield>
  </datafield>
  <datafield tag="245" ind1=" " ind2=" ">
    <subfield code="a">1-pass fixed-rate linear resampler in Matlab/Octave</subfield>
  </datafield>
  <datafield tag="650" ind1="1" ind2="7">
    <subfield code="a">cc-by</subfield>
    <subfield code="2">opendefinition.org</subfield>
  </datafield>
</record>
28
12
views
downloads
All versions This version
Views 2828
Downloads 1212
Data volume 1.6 MB1.6 MB
Unique views 2828
Unique downloads 77

Share

Cite as