利用MATLAB读取PHYSIONET数据库的具体步骤

前提是安装好了MATLAB,进行读取PHYSIONET数据库的具体步骤

1、打开https://physionet.org/physiotools/matlab/wfdb-app-matlab/wfdb-app-toolbox-0-10-0.zip
下载安装包wfdb-app-toolbox-0-10-0.zip
2、将安装包拷贝到MATLAB安装的目录下,进行解压缩
3、在MATLAB中设置添加路径
在这里插入图片描述
在这里插入图片描述
3、在MATLAB中输入以下程序代码就可以实现获取physionet数据库中的软件了

cd D:\matlab\wfdb-app-toolbox-0-10-0 %安装包解压后的具体位置

就会得到下图所示加载的各项,以上就完成了To install or update a previous installation of this Toolbox:
在这里插入图片描述
4、接下来检测Test the Toolbox,输入如下代码(直接复制)

For a demonstration of the toolbox, run(直接复制,稍微等待结果,进行测试)

wfdbdemo

To read and plot an ECG signal from one of PhysioBank’s data collections, try these commands:(另一个读取数据的方法)

[tm,sig]=rdsamp('mitdb/100',1);
plot(tm,sig);

If these tests do not run successfully, please see the Toolbox FAQ for troubleshooting hints.

5、运行以上的代码,MATLAB界面如下
在这里插入图片描述
得到的结果图如下
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
第一次接触physionet,并且第一次在博客上写分享,希望对大家有帮助~
[1]: https://blog.csdn.net/bluewn/article/details/79514798

  • 5
    点赞
  • 25
    收藏
    觉得还不错? 一键收藏
  • 6
    评论
评论 6
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值