Home > simtb_v18 > sim > simtb_makeTC.m

simtb_makeTC

PURPOSE ^

simtb_makeTC() - Makes component TCs (time courses)

SYNOPSIS ^

function [TC, eTC, blocks, events, uevents, sP] = simtb_makeTC(sP, sub)

DESCRIPTION ^

 simtb_makeTC() - Makes component TCs (time courses)
                  Builds event time course based on experimental design.
                  Generates the TC based on the chosen model.
                  Normalizes the TC based on the peak-to-peak difference.
                  Adds Gaussian noise.
  
   Usage:
    >> [TC, eTC] = simtb_makeTC(sP, sub);

   INPUTS: 
   sP            = parameter structure used in the simulations
   sub           = subject index

   OUTPUTS:
   TC            = Generated time courses 
   eTC           = Event time course (prior to modeling)
   blocks        = Event time courses of each block
   events        = Event time courses of each event type
   uevents       = Event time courses for each component
   sP            = Updated parameter structure with parameters for TC models

   see also: simtb_showTC(), simtb_TCsource(), simtb_main()

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Tue 29-Mar-2011 15:45:29 by m2html © 2005