資源簡介
心電信號(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個文件信息
評論
共有 條評論