<< edfread_file edflib - Toolbox for reading and writing edf/bdf - files edfread_samples >>

edflib - Toolbox for reading and writing edf/bdf - files >> edflib - Toolbox for reading and writing edf/bdf - files > edfread_physical_samples

edfread_physical_samples

extract signal data from a edf/bdf-file

Calling Sequence

[data]=edfread_physical_samples(handle,edfsignal ,n);

Parameters

handle

: a integer containing the file handle of the opened bdf/edf-file

edfsignal

: Minimum value is 1.

n

: defines the number of values which will be extracted from the file (integer).

data

: read data

Description

Reads n samples from edfsignal, starting from the current sample position indicator. The values are converted to their physical values e.g. microVolts, beats per minute, etc.. The sample position indicator will be increased with the amount of samples read.

Examples

[data]=edfread_physical_samples(edf_handle,1,1000);

Authors

<< edfread_file edflib - Toolbox for reading and writing edf/bdf - files edfread_samples >>