资源简介
模拟ECG心电信号数据(matlab), 有助于加深对生物电数据处理理解和学习。
代码片段和文件信息
x=0.01:0.01:2;
default=input(‘Press 1 if u want default ecg signal else press 2:\n‘);
if(default==1)
li=30/72;
a_pwav=0.25;
d_pwav=0.09;
t_pwav=0.16;
a_qwav=0.025;
d_qwav=0.066;
t_qwav=0.166;
a_qrswav=1.6;
d_qrswav=0.11;
a_swav=0.25;
d_swav=0.066;
t_swav=0.09;
a_twav=0.35;
d_twav=0.142;
t_twav=0.2;
a_uwav=0.035;
d_uwav=0.0476;
t_uwav=0.433;
else
rate=input(‘\n\nenter the heart beat rate :‘);
li=30/rate;
%p wave specifications
fprintf(‘\n\np wave specifications\n‘);
d=input(‘Enter 1 for default specification else press 2: \n‘);
if(d==1)
a_pwav=0.25;
d_pwav=0.09;
t_pwav=0.16;
else
a_pwav=input(‘amplitude = ‘);
d_pwav=input(‘duration = ‘);
t_pwav=input(‘p-r interval = ‘);
d=0;
end
%q wave specifications
fprintf(‘\n\nq wave specifications\n‘);
d=input(‘Enter 1 for default specification else press 2: \n‘);
if(d==1)
a_qwav=0.025;
d_qwav=0.066;
t_qwav=0.166;
else
a_qwav=input(‘amplitude = ‘);
d_qwav=input(‘duration = ‘);
t_qwav=0.166;
d=0;
end
%qrs wave specifications
fprintf(‘\n\nqrs wave specifications\n‘);
d=input(‘Enter 1 for default specification else press 2: \n‘);
if(d==1)
a_qrswav=1.6;
d_qrswav=0.11;
else
a_qrswav=input(‘amplitude = ‘);
d_qrswav=input(‘duration = ‘);
d=0;
end
%s wave specifications
fprintf(‘\n\ns wave specifications\n‘);
d=input(‘Enter 1 for default specification else press 2: \n‘);
if(d==1)
a_swav=0.25;
d_swav=0.066;
t_swav=0.09;
else
a_swav=input(‘amplitude = ‘);
d_swav=input(‘duration = ‘);
t_swav=0.09;
d=0;
end
%t wave specifications
fprintf(‘\n\nt wave specifications\n‘);
d=input(‘Enter 1 for default specification else press 2: \n‘);
if(d==1)
a_twav=0.35;
d_twav=0.142;
t_twav=0.2;
else
a_twav=input(‘amplitude = ‘);
d_twav=input(‘duration = ‘);
t_twav=input(‘s-t interval = ‘);
d=0;
end
%u wave specifications
fprintf(‘\n\nu wave specifications\n‘);
d=input(‘Enter 1 for default specification else press 2: \n‘);
if(d==1)
a_uwav=0.035;
d_uwav=0.0476;
t_uwav=0.433;
else
a_uwav=input(‘amplitude = ‘);
d_uwav=input(‘duration = ‘);
t_uwav=0.433;
d=0;
end
end
pwav=p_wav(xa_pwavd_pwavt_pwavli);
%qwav output
qwav=q_wav(xa_qwavd_qwavt_qwavli);
%qrswav output
qrswav=qrs_wav(xa_qrswavd_qrswa
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 181760 2006-04-25 13:36 模拟ECG心电信号数据(matlab)\ECG.doc
文件 197506 2006-04-25 13:37 模拟ECG心电信号数据(matlab)\ECG.pdf
文件 3268 2006-04-21 23:35 模拟ECG心电信号数据(matlab)\matlab_codes\complete.m
文件 319 2006-04-20 19:53 模拟ECG心电信号数据(matlab)\matlab_codes\p_wav.m
文件 255 2006-04-20 19:52 模拟ECG心电信号数据(matlab)\matlab_codes\qrs_wav.m
文件 256 2006-04-20 19:53 模拟ECG心电信号数据(matlab)\matlab_codes\q_wav.m
文件 256 2006-04-20 19:52 模拟ECG心电信号数据(matlab)\matlab_codes\s_wav.m
文件 325 2006-04-20 20:12 模拟ECG心电信号数据(matlab)\matlab_codes\t_wav.m
文件 312 2006-04-20 20:30 模拟ECG心电信号数据(matlab)\matlab_codes\u_wav.m
文件 70 2009-01-17 22:26 模拟ECG心电信号数据(matlab)\www.hheet.com.txt
目录 0 2008-03-30 14:33 模拟ECG心电信号数据(matlab)\matlab_codes
目录 0 2009-01-17 22:26 模拟ECG心电信号数据(matlab)
----------- --------- ---------- ----- ----
384327 12
评论
共有 条评论