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?

Réponses (2)

Walter Roberson
Walter Roberson le 29 Juil 2016

0 votes

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 commentaires

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

Connectez-vous pour commenter.

Community Treasure Hunt

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

Start Hunting!

Translated by