How import ECG to matlab?

  1. 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!?)
     
  2. jcsd
  3. 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’.
     
  4. 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
     
  5. Hi
    Where can i find the 'program' (the m file), rdsign212.m??
     
  6. how to get .mat ecg signal
     
  7. how to get .mat ecg signal
     
  8. 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?
     
Know someone interested in this topic? Share this thead via email, Google+, Twitter, or Facebook

Have something to add?