wfdb-app-toolbox icon indicating copy to clipboard operation
wfdb-app-toolbox copied to clipboard

wrann.m does not offset chan number back to 0-based indexing

Open particlewizard opened this issue 5 years ago • 0 comments

rdann.m adds 1 to chan number, to comply with Matlab's 1-based indexing, but wrann.m does not subtract 1 to revert back to 0-based indexing.

A fix could be to modify line 145 of wrann.m: chan = num2chararray(chan-1, 'chan', N);

particlewizard avatar Apr 05 '19 15:04 particlewizard