function wfdbdemo() % WFDB App Toolbox Demo % % Written by Ikaro Silva, 2013 % Last modified: January 10, 2014 % [~,config]=wfdbloadlib; echo on; display('Reading samples ECG signal from MIT-BIH Arrhythmia Database'); N=10000; [ecg,Fs,tm]=rdsamp('mitdb/100',1,N); display('Reading and plotting annotations (human labels) of QRS complexes performend on the signals'); %by cardiologists. [ann,type,subtype,chan,num]=rdann('mitdb/100','atr',1,N); %Plot 2D version of signal and labels figure; plot(tm(1:N),ecg(1:N));hold on;grid on; plot(tm(ann(ann