source:
proiecte/pmake3d/make3d_original/Make3dSingleImageStanford_version0.1/third_party/opt/yalmip/extras/@ncvar/cat.m
@
37
Last change on this file since 37 was 37, checked in by , 14 years ago | |
---|---|
File size: 266 bytes |
Rev | Line | |
---|---|---|
[37] | 1 | function y = cat(varargin) |
2 | %CAT (overloaded) | |
3 | ||
4 | % Author Johan Löfberg | |
5 | % $Id: cat.m,v 1.1 2006/08/10 18:00:19 joloef Exp $ | |
6 | ||
7 | switch varargin{1} | |
8 | case 1 | |
9 | y = vertcat(varargin{2:end}); | |
10 | case 2 | |
11 | y = horzcat(varargin{2:end}); | |
12 | otherwise | |
13 | end |
Note: See TracBrowser
for help on using the repository browser.