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

267 title(['Mesh & Contour of ',eval('filename'),' using ',eval('distribution'),' distribution']); subplot(2,l,2), contour(T,f,TFDs); xlabel('Time(sec)'); ylabel('Frequency(Hz)'); pause elseif FigType=='b'; figure(1); mesh(T,f,TFDs); xlabel('Time(sec)'); ylabel('Frequency(Hz)'); zlabel('Magnitude'); title(['Mesh of ',eval('filename'),' using ',eval('distribution'),' distribution']); pause elseif FigType=='c'; figure(1); contour(T,f,TFDs); xlabel('Time(sec)'); ylabel('Frequency(hertz)'); title(['Contour of ',eval('filename'),' using ',eval('distribution'),' distribution']); pause elseif FigType=='d'; end (Algorithm to calculate Median frequency) if Question_4=='y'; slope=(fit(3)-fit(1))/(T(3)-T(1)); Si = sprintf('slope is %5.2f,(fit(3)-fit(1))/(T(3)-T(1))); S2 = sprintf('Y_intercept is %5.1f,fit(2)-slope*T(2)); figure(2); plot(T,fit,T,median_frequency,'*'); title(['Median frequency of,",eval('filename),",eval('S1'),",eval('S2'),",'Hertzl); xlabel('Time(sec)'); ylabel('Frequency(Hertz)'); else end pause if Question_3=='y' & Question_2=='y'; figure(3); subplot(3 , 1,1), plot(ref,rawdata); title(['Superimpose of rawdata & detrended & IF of ',eval('filename')]); xlabel('Time(sec)'); ylabel('Amplitude'); subplot(3,1,2),plot(ref,Signa); xlabel('Time(sec)'); ylabel('Amplitude');

268 subplot(3, 1,3), plot(T,E); xlabel('Time(sec)'); ylabel('frequency'); elseif Question_3=='y' & Question_2='n' figure(3); subplot(2, 1, 1 ), plot(ref,rawdata); title(['Superimpose of rawdata of ',eval('filename)]); xlabel('Time(sec)'); ylabel('Amplitude'); subplot(2,1,2),plot(T,E); xlabel('Time(sec)'); ylabel('Amplitude'); elseif Question_3=='n' & Question_2='y' figure(3); subplot(2, 1,1 ), plot(ref,Signa); title(['plot of rawdata & detrended of ',eval('filename')]); xlabel('Time(sec)'); ylabel('Amplitude'); subplot(2,l,2),plot(ref,Signa); xlabel('Time(sec)'); ylabel('Amplitude'); elseif Question_3=='n' & Question_2='n' figure(3); plot(ref,Signa); title(['plot of rawdata of ',eval('filename)]); xlabel('Time(sec)'); ylabel('Amplitude'); end pause if Question_6=='y'; figure(4); subplot(3 ,l, 1 ), plot(T,symvag); title(rMixture of Sym&Parasym & Parasym range & Ratio of Lowfreq to HighFreql); xlabel('Time(sec)'); ylabel('Amplitude'); subplot(3,1,2), plot(T,vagal); xlabel('Time(sec)'); ylabel('Amplitude'); subplot(3 , 1,3 ), plot(T,symtopar); xlabel('Time(sec)'); ylabel('Amplitude'); if Question_6=='ne; end end

268<br />

subplot(3, 1,3), plot(T,E);<br />

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

ylabel('frequency');<br />

elseif Question_3=='y' & Question_2='n'<br />

figure(3);<br />

subplot(2, 1, 1 ), plot(ref,rawdata);<br />

title(['Superimpose <strong>of</strong> rawdata <strong>of</strong> ',eval('filename)]);<br />

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

ylabel('Amplitude');<br />

subplot(2,1,2),plot(T,E);<br />

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

ylabel('Amplitude');<br />

elseif Question_3=='n' & Question_2='y'<br />

figure(3);<br />

subplot(2, 1,1 ), plot(ref,Signa);<br />

title(['plot <strong>of</strong> rawdata & detrended <strong>of</strong> ',eval('filename')]);<br />

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

ylabel('Amplitude');<br />

subplot(2,l,2),plot(ref,Signa);<br />

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

ylabel('Amplitude');<br />

elseif Question_3=='n' & Question_2='n'<br />

figure(3);<br />

plot(ref,Signa);<br />

title(['plot <strong>of</strong> rawdata <strong>of</strong> ',eval('filename)]);<br />

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

ylabel('Amplitude');<br />

end<br />

pause<br />

if Question_6=='y';<br />

figure(4);<br />

subplot(3 ,l, 1 ), plot(T,symvag);<br />

title(rMixture <strong>of</strong> Sym&Parasym & Parasym range & Ratio <strong>of</strong> Lowfreq to HighFreql);<br />

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

ylabel('Amplitude');<br />

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

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

ylabel('Amplitude');<br />

subplot(3 , 1,3 ), plot(T,symtopar);<br />

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

ylabel('Amplitude');<br />

if Question_6=='ne;<br />

end<br />

end

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

Saved successfully!

Ooh no, something went wrong!