njit-etd2003-081 - New Jersey Institute of Technology

njit-etd2003-081 - New Jersey Institute of Technology njit-etd2003-081 - New Jersey Institute of Technology

archives.njit.edu
from archives.njit.edu More from this publisher
20.01.2015 Views

281 %* orient landscape; %* print -dps wvletf.eps; subplot(2,1,2), contour(t, freq, abs(coef),20); axis([0 100 0 2]); grid on; xlabel('Time (sec)'); ylabel('Frequency (Hz)'); title(['Contour of ',eval('filename'),' using ',eval('wave'),' wavelet']); % print -dps wvletf.eps; figure; subplot(2,1,1); %plot(A,x); plot(t,x); title(['Detrended IIBI Plot of ',eval('filename'),' using ',eval('wave'),' wavelet']); xlabel('Time (sec)'); ylabel('Amplitude'); subplot(2,1,2); plot(t,E); %plot(A,E); axis([0 50 0 2]); xlabel('Time (sec)'); ylabel('Frequency (Hz)'); title(['Instantaneous frequency Plot of',eval('filename')]); figure; subplot(3,1,1); plot(J,symvag); %plot(A,symvag); %gtext(top); title(['Symp. and Parasymp Mixture (LF) Plot of ',eval('filename'),' using ',eval('wave'),' wavelet']); %xlabel('time (sec)'); ylabel('Amplitude'); subplot(3,1,2); plot(J,vagal); %plot(A,vagal); title('Parasympathetic range (HF)'); %xlabel('time (sec)'); ylabel('Amplitude'); subplot(3,1,3)

282 plot(J,symtopar); %plot(A,symtopar); %gtext(top); title('Ratio of LF to HF) xlabel('Time (sec)'); ylabel('Amplitude'); %order=input('Please enter the order of the lowpass filter. '); %freq=input('Please enter the cuttoff frequency for LPF. '); %sample=input('Please enter the sample rate of the data. '); %order=12; %freq=0.03; %nfreq=freq/sf; %[poles,zeros]=butter(order,nfreq); %dtrnd_nsymvag=filtfilt(poles,zeros,n_symvag); %dtrnd_nvagal=filtfilt(poles,zeros,n_vagal); %dtrnd_nsymtopar=filtfilt(poles,zeros,n_symtopar); figure subplot(3,1,1); plot(J,n_symvag); %plot(A,n_symvag); %gtext(top); title(['Normalized Symp and Parasymp Mixture (NLH) Plot of ',eval('filename'),' using ',eval('wave'),' wavelet']); %xlabel('time (sec)'); ylabel('Amplitude'); subplot(3,1,2); plot(J,n_vagal); %plot(A,n_vagal); title('Normalized Parasympathetic range (NHF)'); %xlabel('time (sec)'); ylabel('Amplitude'); %figure subplot(3 13) plot(J,n_symtopar); %plot(A,symtopar); %gtext(top); title('Ratio of NLF to NHF') xlabel('Time (sec)'); ylabel('Amplitude');

281<br />

%* orient landscape;<br />

%* print -dps wvletf.eps;<br />

subplot(2,1,2), contour(t, freq, abs(coef),20);<br />

axis([0 100 0 2]);<br />

grid on;<br />

xlabel('Time (sec)');<br />

ylabel('Frequency (Hz)');<br />

title(['Contour <strong>of</strong> ',eval('filename'),' using ',eval('wave'),' wavelet']);<br />

% print -dps wvletf.eps;<br />

figure;<br />

subplot(2,1,1);<br />

%plot(A,x);<br />

plot(t,x);<br />

title(['Detrended IIBI Plot <strong>of</strong> ',eval('filename'),' using ',eval('wave'),' wavelet']);<br />

xlabel('Time (sec)');<br />

ylabel('Amplitude');<br />

subplot(2,1,2);<br />

plot(t,E);<br />

%plot(A,E);<br />

axis([0 50 0 2]);<br />

xlabel('Time (sec)');<br />

ylabel('Frequency (Hz)');<br />

title(['Instantaneous frequency Plot <strong>of</strong>',eval('filename')]);<br />

figure;<br />

subplot(3,1,1);<br />

plot(J,symvag);<br />

%plot(A,symvag);<br />

%gtext(top);<br />

title(['Symp. and Parasymp Mixture (LF) Plot <strong>of</strong> ',eval('filename'),' using ',eval('wave'),'<br />

wavelet']);<br />

%xlabel('time (sec)');<br />

ylabel('Amplitude');<br />

subplot(3,1,2);<br />

plot(J,vagal);<br />

%plot(A,vagal);<br />

title('Parasympathetic range (HF)');<br />

%xlabel('time (sec)');<br />

ylabel('Amplitude');<br />

subplot(3,1,3)

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!