ikarosilva / wfdb-app-toolbox

The WFDB Toolbox for MATLAB/Octave is a collection of functions for reading, writing, and processing physiologic signals in the formats used by PhysioNet (see README for details).
http://physionet.org/physiotools/matlab/wfdb-app-matlab/
GNU General Public License v3.0
93 stars 46 forks source link

fwrite mat2wfdb format 80 #126

Closed cx1111 closed 8 years ago

cx1111 commented 8 years ago

count=fwrite(fid,y',['int' num2str(bit_res)],skip,machine_format);

I'm not sure if that works correctly for writing format 80 signals. y is signed 2's complement form whereas format 80 wfdb are byte offset form. Just a quick thought I'll check and close this later on.

sami10007 commented 8 years ago

Can you please describe how you solved your case? Your output? Your expected output?