Reading .rec files ( mutiple .rec files)

Hi friends, I'm new to matlab. I have a dataset folder that contains .rec files, .edf files and .txt files. Inside the .rec files are my targeting signals. Please, how can i read the .rec files ( either each at a time or all at onces) to obtain the sound signals... as well as to analyze these signals and plot them in MATLAB. Thank you all.

Answers (1)

KSSV
KSSV on 16 Sep 2021
For .edf files you can use this file exchange function: https://in.mathworks.com/matlabcentral/fileexchange/31900-edfread
For .txt files you can use testscan. We don't know the format of .rec files.

6 Comments

Thanks for your reply. I need help with the code to read .rec files. The targeting signals are in .rec files.
I want to analyze the signals in .rec files and plot it
attach one sample file.
I can not attach any of the .rec files because the size is above 5MB
You can zip and attach..or share a gdrive link.
Give access permissions to the link.
According to https://physionet.org/content/ucddb/1.0.0/ the .rec files are EDF format.
So you should be able to use edfread https://www.mathworks.com/help/signal/ref/edfread.html

Sign in to comment.

Categories

Find more on Data Import and Analysis in Help Center and File Exchange

Products

Release

R2020a

Asked:

on 16 Sep 2021

Commented:

on 17 Sep 2021

Community Treasure Hunt

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

Start Hunting!