]> Creatis software - CreaPhase.git/blob - octave_packages/secs2d-0.0.8/Utilities/Ucolumns.m
Add a useful package (from Source forge) for octave
[CreaPhase.git] / octave_packages / secs2d-0.0.8 / Utilities / Ucolumns.m
1 function c=Ucolumns(m)
2
3 %
4 %       function r=columns(m)
5 %
6 %       Note: octave already has this function, 
7 %             this is here only for matlab compatibility
8
9 % This file is part of 
10 %
11 %            SECS2D - A 2-D Drift--Diffusion Semiconductor Device Simulator
12 %         -------------------------------------------------------------------
13 %            Copyright (C) 2004-2006  Carlo de Falco
14 %
15 %
16 %
17 %  SECS2D is free software; you can redistribute it and/or modify
18 %  it under the terms of the GNU General Public License as published by
19 %  the Free Software Foundation; either version 2 of the License, or
20 %  (at your option) any later version.
21 %
22 %  SECS2D is distributed in the hope that it will be useful,
23 %  but WITHOUT ANY WARRANTY; without even the implied warranty of
24 %  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
25 %  GNU General Public License for more details.
26 %
27 %  You should have received a copy of the GNU General Public License
28 %  along with SECS2D; If not, see <http://www.gnu.org/licenses/>.
29
30 c = size(m,2);
31
32