Home > atmlab > math > mat2col.m

mat2col

PURPOSE ^

MAT2VEC Converts a matrix to a column vector.

SYNOPSIS ^

function a = mat2col(A)

DESCRIPTION ^

 MAT2VEC   Converts a matrix to a column vector.

    This is a function equivalent of a = A(:).

 FORMAT   a = mat2col(A)
        
 OUT   a   A column vector
 IN    A   Data.

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

DOWNLOAD ^

mat2col.m

SOURCE CODE ^

0001 % MAT2VEC   Converts a matrix to a column vector.
0002 %
0003 %    This is a function equivalent of a = A(:).
0004 %
0005 % FORMAT   a = mat2col(A)
0006 %
0007 % OUT   a   A column vector
0008 % IN    A   Data.
0009 
0010 % 2006-08-31   Created by Patrick Eriksson.
0011 
0012 
0013 function a = mat2col(A)
0014 
0015 a = A(:);

Generated on Mon 15-Sep-2014 13:31:28 by m2html © 2005