WFDB - reading in ECG files
조회 수: 13 (최근 30일)
이전 댓글 표시
I have downloaded the WFDB toolbox from PhysioNet for MATLAB.
I am trying to read in an ECG file (nsr001.ecg) downloaded from PhysioBank into MATLAB but all my attempts have failed so far! I am using the 'rdsamp' command.
I have downloaded nsr001.ecg (signal) and nsr001.hea (annotation) files. The path where both of the files are located has been added to MATLAB.
What is the correct syntax to use to read the ECG data files from my drive into MATLAB using the WFDB toolbox commands?
Thanks.
댓글 수: 0
답변 (4개)
Mauro Alejandro Pereira
2017년 11월 8일
I have the same problem, in wfdbdemo.m it there the solution.
댓글 수: 0
Mohsen Davarynejad
2011년 12월 10일
First you have to download the rdsign212.m and rdsign212.dll. To read the first N samples of an M-lead ECG (supposing that the data is saved in binary format) you have to use the following command (assuming your data is saved in ECGData.ecg):
ECGSignal = rdsign212('ECGData.ecg',M,1,N)
댓글 수: 3
Mohsen Davarynejad
2011년 12월 10일
My recommendation was for the case you are using MIT-database ECG. Sorry for the confusion!!
fradaric joseph
2012년 2월 24일
Add those dat files from MIT BIH into the working directory, Then use import wizard, now you can use the commands like rdssamp..etc
참고 항목
카테고리
Help Center 및 File Exchange에서 Data Import and Analysis에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!