ece184_hr_variability_matlabguidelines

# ece184_hr_variability_matlabguidelines - ECE3820 Principles...

This preview shows pages 1–2. Sign up to view the full content.

ECE3820 Principles and Practice of Biomedical Engineering Laboratory Lab Fall’11 Week6: Heart Rate Variability Lab. 1) Load the saved ECG signal into Matlab (one segment at a time). 2) Plot the signal. Label axes correctly. Check the graph template for the ECG sample frequency. To develop the code, include ~ 6 - 8 beats. For the report, include 4 to 5 beats only. Check the time axis units. 3) Differentiate the ECG using the gradient function. Use the appropriate time interval: dt is the difference between two points on the x-axis (ie. dt =t(2)-t(1)). Plot the derivative. 4) Create another array of zeros (array “b”) having length equal to that of the ECG array. Find where the ECG derivative is greater than 40 (or some appropriate threshold) and assign those indices in array “b” equal to one. 5) Compute the derivative of array “b” using the diff function. 6) Find indices where the derivative of array “b” is greater than 0.4 (or some appropriate threshold). 7) Assign activation times to be the times of indices determined in step 6.

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

## This note was uploaded on 11/14/2011 for the course ECE 3820 taught by Professor Wang during the Fall '11 term at GWU.

### Page1 / 4

ece184_hr_variability_matlabguidelines - ECE3820 Principles...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document
Ask a homework question - tutors are online