Plot graph from edf file

Hi,
I am able to read edf file but how to plot the graph from it? Thanks.
This is from edf read.
ver: 20160817
patientID: '1 '
recordID: '1 '
startdate: '08.07.18'
starttime: '10.24.32'
bytes: 10496
records: 281856
duration: 2260
ns: 40
label: {1x40 cell}
transducer: {1x40 cell}
units: {1x40 cell}
physicalMin: [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0]
physicalMax: [1x40 double]
digitalMin: [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0]
digitalMax: [1x40 double]
prefilter: {1x40 cell}
samples: [1x40 double]

7 件のコメント

madhan ravi
madhan ravi 2018 年 10 月 28 日
編集済み: madhan ravi 2018 年 10 月 28 日
Which variables do you want to plot? Provide the data’s and show us your code to read the file.
Reff
Reff 2018 年 10 月 28 日
This is the code to read and plot the graph. Thanks
[hdr,record] = edfread('EXP1.edf');
record=record';
lgh=length(record);
AF3_before=record(1:lgh,3);
AF4_before=record(1:lgh,16);
figure(1)
subplot(2,1,1)
plot(AF3_before);
title('Original Signal in AF3');
xlabel('Time(ms)');
ylabel('Amplitude(µv)')
figure(2)
subplot(2,1,1)
plot(AF4_before);
title('Original Signal in AF4');
xlabel('Time(ms)');
ylabel('Amplitude(µv)');
Step 1 of 2: Reading requested records. (This may take a few minutes.)... Maximum variable size allowed by the program is exceeded.
madhan ravi
madhan ravi 2018 年 10 月 28 日
File?
Reff
Reff 2018 年 10 月 28 日
Try this one. Since the file is big, please extract to RAR and then to edf.
madhan ravi
madhan ravi 2018 年 10 月 28 日
Try this one
which one??
Reff
Reff 2018 年 10 月 28 日
here
Walter Roberson
Walter Roberson 2018 年 10 月 28 日
When you get a maximum variable size error in this context, the edf file you are trying to read is not a valid edf file up through the supported edf format version. It might be a corrupted file.
That said, I have not attempted to examine the file posted as I am not at my computer now.

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

回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeEEG/MEG/ECoG についてさらに検索

製品

リリース

R2014a

タグ

質問済み:

2018 年 10 月 28 日

コメント済み:

2018 年 10 月 28 日

Community Treasure Hunt

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

Start Hunting!

Translated by