plot ECG signal from PDF into MATLAB

I have ECG signal in PDF format.I want to process it in MATLAB..How to convert the pdf file and load it in MATLAB?

Answers (2)

Find a PDF renderer such as Ghostscript, and use it to render the signal into an image. Then use one of the various File Exchange contributions to "digitize" the image. Search for tag:digitize inside the File Exchange.
You might get lucky and all the needed coordinates might happen to appear in sequential text form inside the PDF, but most of the time when they appear at all they tend to appear in some messy order, and it would be common for them not to appear at all in text form.

2 Comments

thank you..Is it possible to load a .txt file into MATLAB ,if i convert the pdf into .txt?
Yes, but it might take a lot of parsing, depending on how it comes out.

Sign in to comment.

Asked:

on 29 Jul 2016

Edited:

on 2 Jul 2018

Community Treasure Hunt

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

Start Hunting!