mr程序读取mysql 数据库_如何将MIT-BIH数据库里的dat、hea、atr数据代入matlab程序进行读取画图?...

该程序用于读取MIT-BIH数据库中的ECG数据(如100.dat)和CU-DB的cu01.dat,采用格式212。它显示数据及其注释,并将注释保存在ANNOT向量中,对应时间保存在ATRTIME向量中。程序读取头文件获取采样率等信息,然后读取二进制数据并进行转换,最后将数据和注释在图形上显示。
摘要由CSDN通过智能技术生成

% This programm reads ECG data which are saved in format 212.

% (e.g., 100.dat from MIT-BIH-DB, cu01.dat from CU-DB,...)

% The data are displayed in a figure together with the annotations.

% The annotations are saved in the vector ANNOT, the corresponding

% times (in seconds) are saved in the vector ATRTIME.

% The annotations are saved as numbers, the meaning of the numbers can

% be found in the codetable "ecgcodes.h" available at http://www.physionet.org.

%

% ANNOT only contains the most important information, which is displayed

% with the program rdann (available on http://www.physionet.org) in the 3rd row.

% The 4th to 6th row are not saved in ANNOT.

%

%

% created on Feb. 27, 2003 by

% Robert Tratnig (Vorarlberg University of Applied Sciences)

% (email: rtratnig@gmx.at),

%

% algorithm is based on a program written by

% Klaus Rheinberger (University of Innsbruck)

% (email: klaus.rheinberger@uibk.ac.at)

%

%------ SPECIFY DATA ------------------------------------------------------

%------ 指定数据文件 -------------------------------------------------------

% .dat 格式,ECG 数据

SAMPLES2READ=2048; % 指定需要读入的样本数

% 若.dat文件中存储有两个通道的信号:

% 则读入 2*SAMPLES2READ 个数据

%------ LOAD HEADER DATA --------------

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值