How import ECG to matlab?

  • MATLAB
  • Thread starter lexy
  • Start date
2
0

Main Question or Discussion Point

hello,
I am working on a project of electrocardiographique (ECG) signal compression, in this way i need to download an ECG to treat it in MATLAB. The probleme that appears, is the incompatibility of ECG recording that i find in the "MIT-database ECG" with the MATLAB environement.

So i hope find some help by giving me,either an ECG recording with TEXT (.txt) format (because i know import it to MATLAB), or an advice to convert it.

Thank you.
(PS:sorry for my english!?)
 

Answers and Replies

2
0
i've found the solution on the web

To read a binary data file (e.g. ecg.dat) from within MATLAB, you can use the provided program rdsign212 (download ‘rdsign212.m’ and ‘rdsign212.dll’ from homepage). Copy these two files into your MATLAB working directory. To read the first 10000 samples of a 2-lead ECG (file ecg.dat) and assign the data to a variable ecg, type the following in the MATLAB command window:

ecg = rdsign212('ecg.dat',2,1,1000)

You can get the syntax for the command rdsign212 by typing ‘help rdsign212’.
 
hello,
I am working on a project of electrocardiograph (ECG) signal compression, i need to download an ECG in MATLAB. The probleme that appears, is the incompatibility of ECG recording that i find in the "MIT-database ECG" with the MATLAB environement.

So i need the help of converting .dat file to .txt file,and using it in matlab
 
Hi
Where can i find the 'program' (the m file), rdsign212.m??
 
1
0
how to get .mat ecg signal
 
4
0
how to get .mat ecg signal
 
4
0
i have an ECG project and want to disply on matlab
so i first did the hadware part and i get the ECG signal on osciloscope as analog signal so i want to display this signal by using matlab
what are the procedures can i do?
 

Related Threads for: How import ECG to matlab?

  • Last Post
Replies
1
Views
6K
  • Last Post
Replies
1
Views
6K
  • Last Post
Replies
1
Views
2K
Replies
1
Views
2K
Replies
5
Views
6K
Replies
1
Views
11K
Top