Prepares the data for displaying all trials of a specified class and channel. This function creates a struct that is used to display the raw data, arranged in trials. Use the function plotC.m to plot this structure. Usage: calcRawTrials(s, h, triallen, trls, class, rmartif, cue, name); Input parameters: s ... Input signal (as obtained by sload) h ... Header structure (as obtained by sload) triallen ... Length of one trial (in s) Optional input parameters: trls ... Trials to display class ... Class rmartif ... Remove artifacts cue ... Location of cue (in s) name ... Name of the data set (or subject) plim ... Scale y-axis to pmin for minimum and maximum value Output parameter: r ... Structure containing the results