Home > biosig > t310 > calcRawTrials.m

calcRawTrials

PURPOSE ^

Prepares the data for displaying all trials of a specified class and channel.

SYNOPSIS ^

function r = calcRawTrials(s, h, triallen, trls, class, rmartif, cue, name, plim)

DESCRIPTION ^

 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

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Fri 22-May-2009 15:13:00 by m2html © 2003