Home > brede > brede_mat_mat2cel.m

brede_mat_mat2cel

PURPOSE ^

brede_mat_mat2cel - Convert 'mat' structure to 'cel' structure

SYNOPSIS ^

function C = brede_mat_mat2cel(M, varargin)

DESCRIPTION ^

 brede_mat_mat2cel    - Convert 'mat' structure to 'cel' structure

       C = brede_mat_mat2cel(M)

       Input:  M  'Mat' structure or numerical matrix  

       Output: C  'Cel' structure

       Convert a 'mat' structure to a 'cel' structure, i.e., convert a
       structure containing a numerical matrix to a cell array.

       The function for the inverse operation is brede_cel_cel2mat. 

       Example:
         X = [ 1 2 ; 3 4 ; 5 6 ];
         C = brede_mat_mat2cel(X); C.cell{1,2}
  
       See also BREDE, BREDE_MAT, BREDE_CEL, BREDE_CEL_CEL2MAT.

 $Id: brede_mat_mat2cel.m,v 1.2 2008/06/12 17:05:59 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