Home > brede > brede_cel_cel2mat.m

brede_cel_cel2mat

PURPOSE ^

brede_cel_cel2mat - Convert 'cel' to 'mat' structure

SYNOPSIS ^

function M = brede_cel_cel2mat(C, varargin)

DESCRIPTION ^

 brede_cel_cel2mat    - Convert 'cel' to 'mat' structure

       function M = brede_cel_cel2mat

       Input:  C  Data in 'cel' structure

       Output: M  Numerical matrix in 'mat' structure

       Conversion of a 'cel' structure to a 'mat' structure. 

       The elements of the 'cell' field of the 'cel' structure are
       converted to numeric elements of the 'matrix' field of the 'mat'
       structure. If the elements of the 'cell' field cannot be
       intepreted as a value then the element in the 'matrix' field is
       set to NaN (not a number).
 
       Example: 
         C.cell = { 1 '2' ; '3' 4 ; 5 '6' };
         M = brede_cel_cel2mat(C); M.matrix

       See BREDE, BREDE_CEL, BREDE_CEL_GENOTYPE2MAT, CELL2MAT.

 $Id: brede_cel_cel2mat.m,v 1.4 2008/06/12 17:04:44 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