Home > sgwt_toolbox > utils > vec.m

vec

PURPOSE ^

vec : vectorize input

SYNOPSIS ^

function r=vec(x)

DESCRIPTION ^

 vec : vectorize input

 r=vec(x)

 returns r=x(:);

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 % vec : vectorize input
0002 %
0003 % r=vec(x)
0004 %
0005 % returns r=x(:);
0006 
0007 % This file is part of the SGWT toolbox (Spectral Graph Wavelet Transform toolbox)
0008 % Copyright (C) 2010, David K. Hammond.
0009 %
0010 % The SGWT toolbox is free software: you can redistribute it and/or modify
0011 % it under the terms of the GNU General Public License as published by
0012 % the Free Software Foundation, either version 3 of the License, or
0013 % (at your option) any later version.
0014 %
0015 % The SGWT toolbox is distributed in the hope that it will be useful,
0016 % but WITHOUT ANY WARRANTY; without even the implied warranty of
0017 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
0018 % GNU General Public License for more details.
0019 %
0020 % You should have received a copy of the GNU General Public License
0021 % along with the SGWT toolbox.  If not, see <http://www.gnu.org/licenses/>.
0022 
0023 function r=vec(x)
0024 r=x(:);

Generated on Tue 04-May-2010 16:00:20 by m2html © 2003