<< edf_is_file_used utility functions Functions for writing files >>

edflib - Toolbox for reading and writing edf/ bdf files >> utility functions > edf_plot_signals

edf_plot_signals

plots the data for specified signals from one file to an other file

Calling Sequence

edf_plot_signals(filename,readsignal)
edf_plot_signals(edf_header,readsignal)
edf_plot_signals(filename,readsignal,startTime,startTime)
edf_plot_signals(edf_header,readsignal,startTime,startTime)

Parameters

filename_read:

string containing the path and name of the file from which the header should be copied

edf_header:

struct with header information from edfopen_file_readonly

readsignal:

vector with signal numbers, Minimum value is 1. These channels are plotted.

startTime:

startTime in seconds relative to the beginning

endTime:

end time in seconds relative to the beginning

Description

Plots the data for specified signals from one file

Examples

channel = edf_find_signalid(edf_getpath()+'/demos/demo.bdf',"sine");
channel2 = edf_find_signalid(edf_getpath()+'/demos/demo.bdf',"sine2");

edf_plot_signals(edf_getpath()+'/demos/demo.bdf',[channel,channel2],1,3);

Authors


Report an issue
<< edf_is_file_used utility functions Functions for writing files >>