ECG Analysis in MATLAB

I need help figuring out how to input an ECG trace into MATLAB so I can run FFT and AMSA on it during VF. I currently have PDF files of LifePak 15 defibrillator patient records. Is there any way to input these ECG traces into MATLAB either from the original PDFs or a different export feature on LifePak15?

3 个评论

Asad Mirza
Asad Mirza 2019-2-22
编辑:Asad Mirza 2019-2-22
Do the PDF files have the ECG waveform as a graph itself or does it have a data table of all the voltages with time?
Shannon Allen
Shannon Allen 2019-2-22
编辑:Shannon Allen 2019-2-22
It has the waveforms as a graph (trace) (example below)ecg.jpg
If the EKG is an image, you would need to use image processing applications to digitize it, retaining the voltage and time calibrations. Search the File Exchange (link) for an appropriate function first, so you do not have to write it yourself.
If you can get numeric data from the defibrillator, importing it is easy.

请先登录,再进行评论。

回答(1 个)

Asad Mirza
Asad Mirza 2019-2-23

0 个投票

It's a shame that the data is not a different color from the black grid lines. You should first use a program such as WebPlotDigitizer to extract the data from the graph. Another similar program that's MATLAB based instead is GRABIT.
Once you have the data on hand you could use some openly available MATLAB toolboxes to analyze and run the FFT on them such as plot-ecg or easily write your own using MATLAB's built in FFT function.

2 个评论

Thanks, this was really helpful! I was able to extract the data from the waveform, but I am having trouble plotting the data using plot-ecg (I'm still relatively inexperienced with MATLAB) How can I plot my data set in the plot-ecg program?
The inputs you need should just be the time vector (x values) and the voltages (y values). Could you post the data for the graph you extracted?

请先登录,再进行评论。

类别

帮助中心File Exchange 中查找有关 ECG / EKG 的更多信息

产品

版本

R2018b

标签

Community Treasure Hunt

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

Start Hunting!

Translated by