Professional Documents
Culture Documents
Matlab Script To Compare The Inverse Dower Transform With A Real
Matlab Script To Compare The Inverse Dower Transform With A Real
% record VCG assumes that you have an internet connection and have
% installed WFDB libs under linux correctly. See www.physionet.org
%
% Gari D. Clifford April 2006 http://alum.mit.edu/www/gari/ecgtools
load allLeads.dat
% column order = 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
% column order = t i ii iii avr avl avf v1 v2 v3 v4 v5 v6 x y z
DII = ecg(1:2500,1);
[DII,rfDII] = filtro_fft(DII,1,120);
MM = max(DII);
DII = DII/max(DII);
Amp_Picos(DII)
vcg = allLeads(:,14:16);
% subplot(211);
plot(vcg(1:2500,1))%,vcg(:,2)) %,vcg(:,3))
grid on
hold on
% Construct inverse dower transform matrix
T = [ -0.172 -0.074 0.122 0.231 0.239 0.194 0.156 -0.010 ;
0.057 -0.019 -0.106 -0.022 0.041 0.048 -0.227 0.887 ;
-0.229 -0.310 -0.246 -0.063 0.055 0.108 0.022 0.102 ];
vcg2 = T*ecg';