njit-etd2003-081 - New Jersey Institute of Technology
njit-etd2003-081 - New Jersey Institute of Technology njit-etd2003-081 - New Jersey Institute of Technology
265 end waitbar(n/(length(signal)-4*hlf-1)) end kernel(fftlen-hlf+1:fftlen,:)=flipud(conj(kernel(2:hlf+1,:))); TFDs=2/fftlen*abs(fft(kernel,fftlen)); close(h) else distribution=['Wigner']; for n=0:skip:skip*(Timeslice-1); V 1=(signal(I+n:I+hlf+n). *s ignal_conjugate(I+n:- 1 :I-hlf+n)); kernel(1 :11lf+ 1,(n/skip)+ 1 )—(V 1 +(sqrt(- 1 )*V 1))'; kernel(fftlen- hlf+1:fftlen,(n/skip)+1)=flipud((conj(V1(2:hlf+1))+[imag(V1(2:hlf+1))+(sqrt(- 1)*real(V1(2:hlf+1)))])); waitbar(n/(length(signal)-4*hlf-1)) end TFDs=2/fftlen*abs(fft(flipud(kernel))); close(h) end % (Algorithm to calculate instantaneous frequency) if Question_3=='y'; [r,C]=size(TFDs); for i=1:C, W=TFDs(:,i); Y=(1:r)'; M=W. *Y; S=sum(M); F=sum(W); E(i)=S/F; end elseif Question_3=='n'; end %end % correct mismatched end (DAN) (Algorithm to extract certain frequency) if Question_6=='y'; symvag=sum(TFDs(LFC,1:Timeslice)); vagal=sum(TFDs(HFC, 1 : Time slice)); symtopar=symvag./vagal; end elseif Question_6='n'; end (Three Dimensional Graphics)
266 T=(length(Signa)/sample)/(Timeslice)*(0:Timeslice-1); f=(sample/(2*fftlen))*(0:fftlen-1); c=length(Signa); ref=(c/sample)/(c-1)*(0:c-1); if Question_4=='y'; low=1; while f(low)HF high=high-1; end high_freq=high; lo_hi=low_freq:high_freq; desire_median_power=sum(TFDs(lo_hi,:))/2; [ROW,COL]=size(TFDs); medianfrequency=zeros( 1 ,COL); for slice_power=1:COL col_index=low_freq; Median_Power=TFDs(low_freq,slice_power); while Median_Power < desire_median_power(slice_power) col_index=col_index+ 1; Median_Power=Median_Power+TFDs(col_index,slice_power); end median_frequency(slice_power)=f(col_index); end (Algorithm to Line fit the Median frequency) feeding=polyfit(T,median_frequency,1); fit=polyval(feeding,T); elseif Question_4=='n'; end disp('Do you want to look at (a)mesh&Contour , (b)mesh') disp([blanks(24) '(c)contour, (d)None']) FigType=input('-->','s'); if FigType=='a'; figure(1); subplot(2,1,1), mesh(T,f,TFDs); xlabel('Time(sec)'); ylabel('Frequency(hertz)'); zlabel('Magnitude');
- Page 243 and 244: Figure 5.53 Coherence and partial c
- Page 245 and 246: 216 2. Interpretation of the transf
- Page 247 and 248: 218 covariances of the parameters,
- Page 249 and 250: 220 deviations are interpreted as A
- Page 251 and 252: 222 Figure 5.58 Bode plot of the HR
- Page 253 and 254: 224 In this section a simple model
- Page 255 and 256: 226 The data for all 47 COPD subjec
- Page 257 and 258: 228 Figure 5.60 Normal and COPD cla
- Page 259 and 260: 230 Figure 5.61 Normal and COPD cla
- Page 261 and 262: 232 Figure 5.62 Normal classificati
- Page 263 and 264: 234 5.7 Cluster Analysis The purpos
- Page 265 and 266: 236 Figure 5.64 Severity classifica
- Page 267 and 268: 238 both the normal and COPD subjec
- Page 269 and 270: 240 In summary, COPD subjects had h
- Page 271 and 272: APPENDIX A EXERCISE PHYSIOLOGY A.1
- Page 273 and 274: 244 A.3 Figure Out Your Target Hear
- Page 275 and 276: APPENDIX B ANALYSIS PROGRAM LISTING
- Page 277 and 278: 248 4) Click on file, close to exit
- Page 279 and 280: 250 • TN 11
- Page 281 and 282: 252 B.1.2 Partial Coherence Between
- Page 283 and 284: 254
- Page 285 and 286: 256 Block Diagram !rime of record K
- Page 287 and 288: 258
- Page 289 and 290: 260 B.2.2 Time — Frequency Analys
- Page 291 and 292: 262 This program provides the STFT
- Page 293: 264 G(:j+1)=G(:,j+1)/(2*sum(G(:j+1)
- Page 297 and 298: 268 subplot(3, 1,3), plot(T,E); xla
- Page 299 and 300: 270 4. The program creates five out
- Page 301 and 302: 272 B.2.3.4 Program to Generate Sym
- Page 303 and 304: 274 ylabel('frequency'); title('Ins
- Page 305 and 306: 276 The program will run and output
- Page 307 and 308: 278 axis([0 1 0 2]); grid on; xlabe
- Page 309 and 310: 280 vagal=sum(TFDs(HFC,1:k)); symto
- Page 311 and 312: 282 plot(J,symtopar); %plot(A,symto
- Page 313 and 314: 284 4. Remove the constant levels a
- Page 315 and 316: 286 Make sure the agreement is quit
- Page 317 and 318: 288 B.2.6 Principal Components Anal
- Page 319 and 320: 290 Columns 12 through 15 'LF_pcoh_
- Page 321 and 322: 292 I= 1.0000 -0.0000 -0.0000 -0.00
- Page 323 and 324: 294 variances = 3.4083 1.2140 1.141
- Page 325 and 326: 296 B.2.7 Cluster Analysis Program
- Page 327 and 328: 298 end [R,C]=size(Data); if length
- Page 329 and 330: 300 B.2.8 Cross-correlation Program
- Page 331 and 332: 302 C.3 Partial coherence of HR and
- Page 333 and 334: 304 [13] Madwed, J., and R. Cohen.
- Page 335 and 336: 306 [41] Mallat, S. G., "A Theory f
- Page 337: [70] Tazebay, M.V., R.T. Saliba and
265<br />
end<br />
waitbar(n/(length(signal)-4*hlf-1))<br />
end<br />
kernel(fftlen-hlf+1:fftlen,:)=flipud(conj(kernel(2:hlf+1,:)));<br />
TFDs=2/fftlen*abs(fft(kernel,fftlen));<br />
close(h)<br />
else<br />
distribution=['Wigner'];<br />
for n=0:skip:skip*(Timeslice-1);<br />
V 1=(signal(I+n:I+hlf+n). *s ignal_conjugate(I+n:- 1 :I-hlf+n));<br />
kernel(1 :11lf+ 1,(n/skip)+ 1 )—(V 1 +(sqrt(- 1 )*V 1))';<br />
kernel(fftlen-<br />
hlf+1:fftlen,(n/skip)+1)=flipud((conj(V1(2:hlf+1))+[imag(V1(2:hlf+1))+(sqrt(-<br />
1)*real(V1(2:hlf+1)))]));<br />
waitbar(n/(length(signal)-4*hlf-1))<br />
end<br />
TFDs=2/fftlen*abs(fft(flipud(kernel)));<br />
close(h)<br />
end<br />
% (Algorithm to calculate instantaneous frequency)<br />
if Question_3=='y';<br />
[r,C]=size(TFDs);<br />
for i=1:C,<br />
W=TFDs(:,i);<br />
Y=(1:r)';<br />
M=W. *Y;<br />
S=sum(M);<br />
F=sum(W);<br />
E(i)=S/F;<br />
end<br />
elseif Question_3=='n';<br />
end<br />
%end % correct mismatched end (DAN)<br />
(Algorithm to extract certain frequency)<br />
if Question_6=='y';<br />
symvag=sum(TFDs(LFC,1:Timeslice));<br />
vagal=sum(TFDs(HFC, 1 : Time slice));<br />
symtopar=symvag./vagal;<br />
end<br />
elseif Question_6='n';<br />
end<br />
(Three Dimensional Graphics)