Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Loading ecg data file in Matlab

870 views
Skip to first unread message

kirthika Varadarajan

unread,
Mar 20, 2008, 10:22:02 AM3/20/08
to
I am new to Biomedical Signal processing.
I have to load ecg data file in Matlab and i want to
analyse the signal.
I just downloaded some sample data files such as
sel100.dat, sel100.hea.txt etc..
i just loaded the .dat file using

load(sel100.dat)
I tried many data file.
But its throwing errors in all cases.
I downloaded data file from Physionet Database.


How can i load exactly the ecg data file in Matlab
Please suggest me.

anuja

unread,
Jun 8, 2011, 12:36:05 AM6/8/11
to
Hi,

I am working on biomedical signal processing.

I am facing the same problem. Please help me.

Please guide me on how to open .dat files from the physiobank database (mit ecg database) if possible.

I am working on this since long. I am unable to figure it out. It is urgent for me.

Please help.

Thank you.
"kirthika Varadarajan" <kirt...@iitm.ac.in> wrote in message <frtrua$mni$1...@fred.mathworks.com>...

TideMan

unread,
Jun 8, 2011, 1:02:04 AM6/8/11
to
On Jun 8, 4:36 pm, "anuja " <anuja2...@gmail.com> wrote:
> Hi,
>
> I am working on biomedical signal processing.
>
> I am facing the same problem. Please help me.
>
> Please guide me on how to open .dat files from the physiobank database (mit  ecg database) if possible.
>
> I am working on this since long. I am unable to figure it out. It is urgent for me.
>
> Please help.
>
> Thank you.
>
>
>
>
>
>
>
> "kirthika Varadarajan" <kirth...@iitm.ac.in> wrote in message <frtrua$mn...@fred.mathworks.com>...

> > I am new to Biomedical Signal processing.
> > I have to load ecg data file in Matlab and i want to
> > analyse the signal.
> > I just downloaded some sample data files such as
> > sel100.dat, sel100.hea.txt etc..
> > i just loaded the .dat file using
>
> > load(sel100.dat)
> > I tried many data file.
> > But its throwing errors in all cases.
> > I downloaded data file from Physionet Database.
>
> > How can i load exactly the ecg data file in Matlab
> > Please suggest me.

Please do not top post. It makes the thread hard to follow.
Put your reply UNDERNEATH.

If you want help, you're going to have to give us more details.
For example, what was the error message?
The command load will only work with wholly numeric files with data in
columns, so that could explain your error message, whatever it was,
though my crystal ball may be cloudy on that one.

Are your .dat files ASCII? In other words, can you open them with
Notepad or Wordpad?
If so, post a few lines from the top of the file so that we can see
what you need to do to load them.

If they're not ASCII, then it's unlikely we can help.
You'll need to read the manual of the instrument that wrote the files.

Steven_Lord

unread,
Jun 8, 2011, 9:23:00 AM6/8/11
to

"anuja " <anuj...@gmail.com> wrote in message
news:ismu7l$lu4$1...@newscl01ah.mathworks.com...


> Hi,
>
> I am working on biomedical signal processing.
>
> I am facing the same problem. Please help me.
>
> Please guide me on how to open .dat files from the physiobank database
> (mit ecg database) if possible.

http://www.mathworks.com/matlabcentral/answers/3671-how-to-load-this-dat-file-into-matlab

--
Steve Lord
sl...@mathworks.com
To contact Technical Support use the Contact Us link on
http://www.mathworks.com

angelo

unread,
Jul 17, 2011, 5:40:12 AM7/17/11
to
i've the same problem...but can you prove to use the function fopen and fread

aziz.cust

unread,
Apr 23, 2012, 8:10:05 AM4/23/12
to
you can use this to open ecg data file...
fid=fopen('file_name.dat');
0 new messages