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
93 stars 46 forks source link

WABP Example Looks Incorrect #96

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
The WFDB example does not look right:

 N=2000;
  [tm,x]=rdsamp('slpdb/slp60',2,N);
  [endTime,dateStamp]=wfdbtime('slpdb/slp60',N);
  wabp('slpdb/slp60',[],endTime{1},[],2);
  [ann]=rdann('slpdb/slp60','wabp')
  plot(tm,x);hold on;grid on
  plot(tm(ann),x(ann),'or'

What is the expected output? What do you see instead?
Beats annotated in the PPG signal (length(unique(ann))> 1)

Original issue reported on code.google.com by ikarosil...@gmail.com on 27 Oct 2014 at 7:52