ikarosilva / wfdb-app-toolbox

The WFDB Toolbox for MATLAB/Octave is a collection of functions for reading, writing, and processing physiologic signals in the formats used by PhysioNet (see README for details).
http://physionet.org/physiotools/matlab/wfdb-app-matlab/
GNU General Public License v3.0
92 stars 45 forks source link

Incorrect tm returned by rdsamp when N0 > 0 #155

Open jcbsv opened 6 years ago

jcbsv commented 6 years ago

The timestamp calculation introduced in commit 66c01d3 is incorrect when N0 > 0. (The calculation is always performed as N0 = 0.)