Home > biomechZoo > Toolbox > Statistics > eventval.m

eventval

PURPOSE ^

SYNOPSIS ^

function evalFile = eventval(varargin)

DESCRIPTION ^

 evalFile = eventval(varargin) will transfer the values of all channels at given events to
 a spreadsheet for further analysis

 ARGUMENTS
 'fld'             ... path to data folder as string
 'dim1'            ... list of conditions as cell array of strings
 'dim2'            ... list of subjects in study as cell array of strings
 'ch'              ... list of channels as cell array of strings
 'localevts'       ... list of local events as cell array of strings
 'globalevts'      ... list of global events as cell array of strings
 'anthroevts'      ... list of anthro events as cell array of strings
 'ext'             ... Spreadsheet file type .xls, .xlsx, and .csv are possible. Default is .xls
 'excelserver'     ... Choice to use excel server. Default 'off'
 'eventvalfilename ... Custom name for eventval spreadsheet. Default 'eventval'

 RETURNS
 evalFile           ... Path leading to exported spreadsheet

 NOTES:
 - 'dim1' refers to the condition folders in your study
   e.g. if your study has the Conditions 'pre' and 'post' then
   dim1 = {'pre','post'}
   e.g. if your study design in more complicated, where two groups (rec and
   elite) perform 3 tasks (wrist shot, snap shot and slap shot). you would
   then write dim1 = {'rec\wrist','rec\snap','rec\slap','elite\wrist','elite\snap',
   'elite\slap'};

 - 'dim2' refers to the subjects in your study
   e.g. if your study has 5 subjects called 'subject01', 'subject02',...'subject05' then
   enter dim2 = {'subject01', 'subject02',...'subject05'};
 - For between subject designs write all possible subject names in dim2 file

 - 'Local Events' are events tagged in each channel.
   e.g. an event 'max' may exist in each channel that specifies the maximum data point
   and its index for a given channel.

 - 'Global Events' are events tagged in a single channel, but for which we require info in
   another channel
   e.g. an event 'heel strike' may exist in a force plate channel. If it is selected as a
   global event for the HEE marker, this function wil return the value of HEE marker
   at the index of heel strike.

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Sun 10-Mar-2024 22:39:06 by m2html © 2005