Home > brede > brede_exp_exp2mat.m

brede_exp_exp2mat

PURPOSE ^

brede_exp_exp2mat - Generate matrix from 'Exp' structure

SYNOPSIS ^

function M = brede_exp_exp2mat(E, varargin)

DESCRIPTION ^

 brede_exp_exp2mat    - Generate matrix from 'Exp' structure

       function M = brede_exp_exp2mat(E, ...
          'PropertyName', 'PropertyValue')

       Input:    E         Array of 'Exp' structures

       Property: Info      [ {0} | waitbar | integer ] Feedback
                           information during processing
                 Normalize [ {N} | None | sqrt | SumOne ]
                 SignType  [ {Keep} | Ignore | OnlyPositive ]
                           Determines the handling of the sign in
                           voxelization 
                 Type      [ {Location.coord} | woext | woroi ]
                           Determines what kind of matrix should be
                           contructed 
                 VoxelizationSigma [ {0.01} | LOOCV ] Standard
                           deviation of the voxelization kernel.

       Output:   M         'Mat' structure 

       This function makes 'exp' structures into a 'Mat'
       structure. The 'exp' structures might be contained in an array
       or a cell array. 
 
       When the 'Type' is 'Location.coord' the 'mat' structure will
       be filled up with volume from a voxelization of the
       coordinates in each experiment using the brede_loc_loc2vol
       function. 'SignType' determines what to do with the sign of
       each individual location.

       With 'type'='woext' the columns will correspond to the WOEXT
       identifier, ie, the woext field in the 'exp' structures. 

       The 'Mat' structure contains the following fields:
         M.description   Short string with description
         M.matrix        Matrix
         M.rows          Eg. 'Exp' structure
         M.columes       Eg. cellstrings.
         M.type = 'mat'  Type of structure (Here 'mat')

       Example:
         % E is a 'Exp' structure
         M = brede_exp_exp2mat(E, 'Type', 'Location.coord');
         brede_mat_plot_mds(M);

       See also BREDE, BREDE_EXP, BREDE_EXT, BREDE_EXP_EXP2HTML,
                BREDE_BIB_BIB2MAT, BREDE_LOC_LOC2VOL,
                BREDE_ROI_WOROI2ROI.

 $Id: brede_exp_exp2mat.m,v 1.18 2007/01/04 23:59:06 fn Exp $

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Fri 27-Nov-2009 18:11:22 by m2html © 2005