How can I read a ".dat" and ".hea" file in to MATLAB?

141 views (last 30 days)
DRISHYA S KUMAR P N
DRISHYA S KUMAR P N on 4 Jul 2021
Answered: Andrea Nemcova on 7 Sep 2021
Currently i am working on project which use Photo Plythismo Graph (ppg). But the data is in .dat and .hea format.
I am looking a code to get a visualize view of these PPG.
If anyone have any idea about this please add a comment on this post. Your help would be greatly appreciate and it really help my project.

Answers (2)

Andrea Nemcova
Andrea Nemcova on 7 Sep 2021
Hello,
I am one of the authors of this database and I am glad you chose the BUT PPG database for your research. May I ask you what is your research dealing with?
More information about the database is included in this brand new article: https://www.hindawi.com/journals/bmri/2021/3453007/ .
The data are in standard WFDB format (very common on Physionet). This format (including .dat and .hea) can be read using WFDB toolbox https://archive.physionet.org/physiotools/matlab/wfdb-app-matlab/ .
I hope this helps. If you have any further question, feel free to ask.
Best regards,
Andrea Nemcova

Monika Jaskolka
Monika Jaskolka on 4 Jul 2021
To import dat files I use the mdfimport tool found on the Matab File Exchange

Community Treasure Hunt

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

Start Hunting!