Home > brede > brede_mat_mat2vol.m

brede_mat_mat2vol

PURPOSE ^

brede_mat_mat2vol - Convert 'mat' to 'vol' structure

SYNOPSIS ^

function V = brede_mat_mat2vol(M, varargin)

DESCRIPTION ^

 brede_mat_mat2vol    - Convert 'mat' to 'vol' structure

       Input:   M   'Mat' structure

       Property Row [ {[]} | an row index ]

       Output:  V   Cellarray of 'Vol' structures
  
       Convert a 'mat' structure to 'vol' structure. The 'mat'
       structure should have a 'columns' field which contains voxel
       coordinates. 

       If 'Row' is non-empty then it should be an index for a row
       in the input matrix. In that case the volume for that row will be
       returned as a (single) structure - not as a cell array. 

       See also BREDE, BREDE_MAT, BREDE_VOL, BREDE_VOL_VOL2MAT.

 $Id: brede_mat_mat2vol.m,v 1.8 2009/10/14 18:17:27 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