Detecting and Quantifying T-Wave Alternans: The PhysioNet/Computing in Cardiology Challenge 2008 1.0.0

File: <base>/sources/Simoliuniene/TWA_FileRead.m (202 bytes)
if recnr < 10
    ECGName=['twa0' num2str(recnr) '.dat']
else
    ECGName=['twa' num2str(recnr) '.dat']
end;
fid = fopen(ECGName, 'r');
data = fread(fid,[NrofLead inf], 'int16').';
fclose(fid);