资源简介
心电信号(ECG)处理,包括基线滤除,滤波,加躁,产生ECG信号以及示范样例
代码片段和文件信息
function b = baseLine1(xLapproach)
%
% b = baseLine1(xLapproach)
% baseline wander extraction from biomedical recordings using a single
% stage of median or moving average filtering.
%
% inputs:
% x: vector or matrix of noisy data (channels x samples)
% L: averaging window length (in samples)
% approach:
% ‘md‘: median filtering
% ‘mn‘: moving average
%
% output:
% b: vector or matrix of baseline wanders (channels x samples)
%
%
% Open Source ECG Toolbox version 1.0 November 2006
% Released under the GNU General Public License
% Copyright (C) 2006 Reza Sameni
% Sharif University of Technology Tehran Iran -- LIS-INPG Grenoble France
% reza.sameni@gmail.com
% This program is free software; you can redistribute it and/or modify it
% under the terms of the GNU General Public License as published by the
% Free Software Foundation; either version 2 of the License or (at your
% option) any later version.
% This program is distributed in the hope that it will be useful but
% WITHOUT ANY WARRANTY; without even the implied warranty of
% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
% Public License for more details. You should have received a copy of the
% GNU General Public License along with this program; if not write to the
% Free Software Foundation Inc. 51 Franklin Street Fifth Floor Boston
% MA 02110-1301 USA.
N = size(x2);
b = zeros(size(x));
flen = floor(L/2);
if (approach ==‘mn‘)
for j = 1:N
index = max(j-flen1):min(j+flenN);
b(:j) = mean(x(:index)2);
end
elseif (approach ==‘md‘)
for j = 1:N
index = max(j-flen1):min(j+flenN);
b(:j) = median(x(:index)2);
end
end
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2006-11-14 08:27 testSamples
文件 2269382 2005-10-24 03:24 testSamples\SampleECG2.mat
文件 160184 2006-08-03 02:17 testSamples\SampleECG1.mat
文件 38368 2006-05-10 00:01 testSamples\BW.mat
文件 42788 2006-05-10 00:01 testSamples\EM.mat
文件 38824 2006-05-10 00:01 testSamples\MA.mat
目录 0 2006-11-16 11:35 BWRemoval
文件 2122 2006-11-16 11:25 BWRemoval\ba
文件 3523 2006-11-18 08:33 BWRemoval\ba
文件 1666 2006-11-16 11:23 BWRemoval\BPFilter.m
文件 1481 2006-11-16 11:26 BWRemoval\LPFilter.m
文件 1769 2006-11-18 08:37 BWRemoval\testba
文件 1754 2006-11-16 11:26 BWRemoval\ba
目录 0 2006-11-18 08:16 ECGFiltering
....... 4390 2006-11-14 08:44 ECGFiltering\ECGBeatFitter.fig
....... 9010 2006-11-18 08:40 ECGFiltering\ECGBeatFitter.m
文件 1271 2006-11-19 11:34 ECGFiltering\ECGModel.m
文件 1366 2006-11-19 11:33 ECGFiltering\ECGModelError.m
....... 9849 2006-11-18 08:43 ECGFiltering\EKSmoother.m
....... 2827 2006-11-18 08:43 ECGFiltering\MeanECGExtraction.m
文件 2421 2006-11-19 11:40 ECGFiltering\PeakDetection.m
....... 1920 2006-11-18 08:43 ECGFiltering\PhaseCalculation.m
文件 1449 2006-11-18 16:41 ECGFiltering\PhaseShifting.m
文件 2834 2006-11-18 09:09 ECGFiltering\testECGBeatFitter.m
文件 4018 2006-11-19 09:49 ECGFiltering\testECGKalmanFilter.m
文件 2299 2006-11-18 09:11 ECGFiltering\testMeanECGExtraction.m
文件 1593 2006-11-18 09:20 ECGFiltering\testPeakDetection.m
文件 1964 2006-11-18 09:11 ECGFiltering\testPhaseCalculation.m
文件 1965 2006-11-18 09:11 ECGFiltering\testPhaseShifting.m
....... 5057 2006-11-18 09:01 ECGFiltering\About.htm
............此处省略19个文件信息
相关资源
- 均值滤波和FFT频谱分析Matlab代码
- MATLAB数字信号处理85个实用案例精讲入
- KF+EKF matlab程序实现
- 基于倒谱图判断浊音的基音周期MATL
- 基于FPGA分布式算法FIR滤波器verilog代码
- 数字信号处理及MATLAB实现__第二版__学
- IIR数字滤波器设计实验报告
- 卡尔曼滤波MATLAB代码170027
- 最小二乘滤波算法正弦波
- 高压直流输电系统的滤波器设计及仿
- 高压直流输电系统的滤波器设计及S
- MATLAB信号处理EEMD工具箱
- 基于MATLAB的心电信号分析及滤波
- 加入噪声的中值滤波代码
- 小波滤波,可用于心电信号、脉搏波
- 基于卡尔曼滤波的三种经典室内定位
- 数字滤波器的MATLAB与FPGA实现——杜勇
- 傅里叶变化频谱图及频域滤波
- MATLAB实现k-svd和mod信号处理
- 图像处理---matlab
- hsv空间双边滤波去雾MATLAB代码
- 心电信号处理方法
- 基于卡尔曼滤波的PID控制
- 数字信号处理实验指导书MAtlab版-数字
- 基于 MATLAB 的滤波器设计 (fdatool使用
- 基于MATLAB的脑电信号处理.pdf
- 基于FPGA的自适应滤波器的实现
- 北邮信通院数字信号处理课件DSP合集
- EKF-UKF-PF 扩展卡尔曼-无迹卡尔曼-粒子
- 有关同态滤波的相关资料及matlab代码
评论
共有 条评论