20.01.2015 Views

njit-etd2003-081 - New Jersey Institute of Technology

njit-etd2003-081 - New Jersey Institute of Technology

njit-etd2003-081 - New Jersey Institute of Technology

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

275<br />

B.2.4 Wavelet Analysis and Activity Plot Program<br />

This program is a MATLAB m-file. Upon starting MATLAB, type whitebg for a white<br />

graphic background.<br />

1. The data needed is the interpolated inter-beat interval ASCII file. In LabVIEW,<br />

after you have created the heart rate or blood pressure IIBI file, you must make sure it is<br />

an ASCII file with channel data in column format with the extension (filename.asc). In<br />

order to run the MATLAB program, type:<br />

d_wvlet<br />

2. The program will ask you to enter the filename without extension. Type in the<br />

filename then hit return.<br />

Agu1hrbp (<strong>of</strong> the Agu1hrbp.asc file)<br />

3. Enter the channel number you want to analyze.<br />

1 (or 2, 3, 4...)<br />

4. Enter the sampling rate <strong>of</strong> the data.<br />

200 (or the appropriate sampling rate)<br />

5. Enter the window size in seconds.<br />

1<br />

6. Enter the fft size:<br />

256<br />

Make sure fftsize sampling rate * window size. Otherwise, 3D plots will be badly<br />

scaled. Choose fft to be 128, 256, 512, 1024, 2048 or any other number in power <strong>of</strong> 2.<br />

7. Enter name <strong>of</strong> the wavelet used:<br />

morl (Morlet:morl, Meyer:meyr, Daubechies 4:dB4,...)

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

Saved successfully!

Ooh no, something went wrong!