# Use Matlab to calculate correlation between heartbeat record

Not what you're looking for? Search our solutions OR ask your own Custom question.

Load ECG data from exercise 1 into MATLAB. Select a segment of recording encompassing at least 10 cycles of the heartbeat. Use Matlab to coherently average 10 cycles to produce a plot of one full cardiac cycle with an improved signal-to-noise ratio. Include plots of the average cycle with labeled axis.

Use Matlab to calculate the correlation of ten cycles of the original recording with the coherently averaged cycle calculated above. Include a plot of this correlation as a function of time shift. Be sure to express time in the units reflecting the sampling rate of the recording.

(See attached files for full problem description)

Â© BrainMass Inc. brainmass.com March 4, 2021, 7:04 pm ad1c9bdddfhttps://brainmass.com/math/computing-values-of-functions/matlab-calculate-correlation-between-heartbeat-record-80488

#### Solution Summary

The expert uses Matlab to calculate correlation between heartbeat record.

$2.49