Tring to Create a Moving ECG Waveform

1 view (last 30 days)
Sean
Sean on 30 Nov 2012
I am pretty new to MATLab, and I am undertaking a bit of a challenging project for me. I am trying to create an ECG signal that would replicate an ECG monitor in a hospital. I am having trouble trying to make the signal propagate in the same manner that you would find in a hospital. There may not be much to go off here, but I would appreciate if you could give it your best reply. Any help would be awesome.

Answers (1)

Image Analyst
Image Analyst on 30 Nov 2012
Have you seen the comet() function?
Description
comet(y) displays a cometgraph of the vector y. A comet graph is an animatedgraph in which a circle (the comet head) tracesthe data points on the screen. The comet body isa trailing segment that follows the head. The tail isa solid line that traces the entire function.
Unfortunately there does not seem to be a way to control the speed of the thing other than to interpolate in more and more data points.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!