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.

Antworten (1)

KSSV
KSSV am 16 Sep. 2021

1 Stimme

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 Kommentare

Olalekan Adesina
Olalekan Adesina am 16 Sep. 2021
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
KSSV
KSSV am 16 Sep. 2021
attach one sample file.
Olalekan Adesina
Olalekan Adesina am 16 Sep. 2021
I can not attach any of the .rec files because the size is above 5MB
KSSV
KSSV am 16 Sep. 2021
You can zip and attach..or share a gdrive link.
KSSV
KSSV am 17 Sep. 2021
Give access permissions to the link.
Walter Roberson
Walter Roberson am 17 Sep. 2021
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

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Data Import and Analysis finden Sie in Hilfe-Center und File Exchange

Produkte

Version

R2020a

Gefragt:

am 16 Sep. 2021

Kommentiert:

am 17 Sep. 2021

Community Treasure Hunt

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

Start Hunting!

Translated by