[Master Index] [Index for export/brede]

brede_mat_mat2mat

(export/brede/brede_mat_mat2mat.m)


Function Synopsis

Mout = brede_mat_mat2mat(Min, varargin)

Help text

 brede_mat_mat2mat    - Convert or clean matrix

       Mout = brede_mat_mat2mat(Min)

       Input:  Min   'Mat' structure or numerical matrix

       Output: Mout  'Mat' structure

       Convert or 'clean' matrix or 'mat' structure. The 'matrix',
       'description' and 'type' fields are set.

       Numerical matrices larger than 2 cannot be handled. Logical
       matrices are converted to numerical matrices. An empty input is
       converted to a 'mat' structure with the 'matrix' field set to an
       empty matrix.

       The function will examine a numerical input matrix and set the
       description field according to the types of values in the input
       matrix. 

       Example: 
         % Convert an numeric matrix to the 'mat' structure 
         % of Brede   
         M = brede_mat_mat2mat(hadamard(12))

         % Once again now with the 'mat' structure as input
         brede_mat_mat2mat(M)
 
       See also BREDE, BREDE_MAT, BREDE_UI_MAT.

 $Id: brede_mat_mat2mat.m,v 1.5 2007/11/05 11:58:47 fn Exp $

Cross-Reference Information

This function is called by

Produced by mat2html on Fri Jun 20 17:43:05 2008
Cross-Directory links are: OFF