Dynamic-Calibration/utils/YALMIP-master/extras/@ncvar/cat.m

10 lines
187 B
Mathematica
Raw Normal View History

2019-12-18 11:25:45 +00:00
function y = cat(varargin)
%CAT (overloaded)
switch varargin{1}
case 1
y = vertcat(varargin{2:end});
case 2
y = horzcat(varargin{2:end});
otherwise
end