MatrixBerryCore
unique.m
Go to the documentation of this file.
1 function varargout=unique(inpVec)
2 import mxberry.core.uniquejoint;
3 import mxberry.core.uniquebyfunc;
4 if nargout==0
5  uniquejoint({inpVec});
6 else
7  varargout=cell(1,nargout);
8  [varargout{:}]=uniquejoint({inpVec});
9  varargout{1}=varargout{1}{1};
10 end
function uniquejoint(in inpCArr, in varargin)
UNIQUEJOINT perform joint unique operation for cell arrays.
function unique(in inpVec)
UNIQUE for arrays of any type.