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 Kommentare

madhan ravi
madhan ravi am 28 Okt. 2018
Bearbeitet: madhan ravi am 28 Okt. 2018
Which variables do you want to plot? Provide the data’s and show us your code to read the file.
Reff
Reff am 28 Okt. 2018
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 am 28 Okt. 2018
File?
Reff
Reff am 28 Okt. 2018
Try this one. Since the file is big, please extract to RAR and then to edf.
madhan ravi
madhan ravi am 28 Okt. 2018
Try this one
which one??
Reff
Reff am 28 Okt. 2018
here
Walter Roberson
Walter Roberson am 28 Okt. 2018
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.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Produkte

Version

R2014a

Gefragt:

am 28 Okt. 2018

Kommentiert:

am 28 Okt. 2018

Community Treasure Hunt

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

Start Hunting!

Translated by