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

gqrs() output on versions > 0.9.9 #148

Closed fernandoandreotti closed 6 years ago

fernandoandreotti commented 6 years ago

While running the gqrs example:

%Example
N=5000;
gqrs('mitdb/100',N);
ann=rdann('mitdb/100','qrs',[],N);
[tm,sig]=rdsamp('mitdb/100',[],N);
plot(tm,sig(:,1));hold on;grid on
plot(tm(ann),sig(ann,1),'ro')

Variable ann ends up being a Nx5 matrix. It looks like the first column are the detections and the rest seems to be some additional information on each beat. However I was not sure.

I am running on a Ubuntu with Matlab 2017a (which I know is not supported). Is anybody else having this problem?

fernandoandreotti commented 6 years ago

On 0.9.8 it works fine by the way, were ann is just a vector with qrs time stamps

fernandoandreotti commented 6 years ago

I think it was a local machine problem, it worked in another computer as it should.