I have some questions on edf to mat.

1 回表示 (過去 30 日間)
Sheldon Zhang
Sheldon Zhang 2018 年 3 月 11 日
コメント済み: gao yang 2022 年 8 月 30 日
I'm Sheldon Zhang. I get the Edfread.m from MathWorks. I want to change edf to mat,but I'm new on Matlab.
When I type "hdr = edfread('SZ2-3.edf')" It shows like this: Step 1 of 2: Reading requested records. (This may take a few minutes.)...
hdr =
ver: 0
patientID: 'VEEG0118N_1 M 07-SEP-2006 ##_# '
recordID: 'Startdate 12-JUN-2017 X X Compact_2x64ch '
startdate: '12.06.17'
starttime: '04.37.36'
bytes: 29440
records: 2138
duration: 1
ns: 114
label: {1x114 cell}
transducer: {1x114 cell}
units: {1x114 cell}
physicalMin: [1x114 double]
physicalMax: [1x114 double]
digitalMin: [1x114 double]
digitalMax: [1x114 double]
prefilter: {1x114 cell}
samples: [1x114 double]
frequency: [1x114 double]
Some of variables like 'physicalMin','digitalMin','digitalMax','samples' and 'frequency' are 'NaN'. I don't know how it happend.
And if I type [hdr,record] = edfread('SZ2-3.edf'); It shows like this:
Step 1 of 2: Reading requested records. (This may take a few minutes.)... Error using fread Invalid size.
Error in edfread (line 225) tmpdata(recnum).data{ii} = fread(fid,hdr.samples(ii),'int16') * scalefac(ii) + dc(ii);
It seems the code can't run.
I would appreciate it if you can give me some advice! Thank you very much!!!
Sheldon Zhang
  3 件のコメント
星 王
星 王 2021 年 10 月 10 日
I had the same question with you, too. Could you give me some advice on how you solve this problem?
gao yang
gao yang 2022 年 8 月 30 日
老铁 解决了没啊

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeStatistics and Machine Learning Toolbox についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!