{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}


ece184_hr_variability_matlabguidelines - ECE3820 Principles...

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

View Full Document Right Arrow Icon
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).
Background image of page 1

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

View Full Document Right Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}