1. 程式人生 > >mit-bih,ecg,wfdb工具箱

mit-bih,ecg,wfdb工具箱

1、WFDB工具箱安裝

在去讀資料之前需要安裝 ‘the wFDB Toolbox for Matlab’,安裝教程為https://physionet.org/physiotools/matlab/wfdb-app-matlab/

更直接的,在matlab中執行如下程式碼,可完成安裝:


2.

>> wfdbdemo
Reading samples ECG signal from MIT-BIH Arrhythmia Database
[tm,sig]=rdsamp('mitdb/100',1);
plot(tm,sig);
Reading and plotting annotations (human labels) of QRS complexes performend on the signals
Ploting 3D version of signal and labels
**Querying PhysioNet for available databases...
    You currently have access to 126 databases for download in PhysioNet (type 'help physionetdb' for more info)!
Demoing finished !!

For more information about the toolbox, type 'wfdb' at the command prompt.

結果: