How to load and display the ECG data file(.dat/.mat files) in MATLAB

3 views (last 30 days)
Hi..I am new to the concept of signal processing on ecg signals.I seek help for how to load and display the ecg data files (.dat or .mat files) into matlab. Hope anyone help me soon. Thank u in advance.

Answers (1)

panakj tiwari
panakj tiwari on 30 Jul 2020
for .dat file
fid = fopen('a01.dat');
data = fread(fid, [1 inf], '*int16', 'ieee-le');
fclose(fid);

Categories

Find more on MATLAB in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!