how to read a dat file in matlab

i have to extract signals from a eeg file. its in dat format.. how to read a dat file in matlab

Answers (3)

Jan
Jan on 22 Aug 2013
You may want to look at importdata

2 Comments

i downloaded datas from http://www.physionet.org/physiobank/database.. and importdata command is not working for it
Does the file contain binary data? If so, use fread

Sign in to comment.

Try opening the file in notepad, or some other basic text editor and look at the data.
If its garbled data, its obviously in some binary format.
If its csv formatted numbers, try csvread
If its csv formatted text and numbers use xlsread
If its some other delimited numbers, try dlmread...
adan jauhary
adan jauhary on 8 Nov 2013
You can use WFDB toolbox for Matlab. It can be downloaded from http://www.physionet.org/physiotools/matlab/

1 Comment

how to use the WFDB toolbox in matlab, if its possible can u provide the imformation sir

Sign in to comment.

Categories

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

Tags

Community Treasure Hunt

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

Start Hunting!