2 isRowInput =
isrow(inpVec);
5 nInpElems = numel(inpVec);
8 [sortedInpVec,indSortedVec] = sort(inpVec);
10 sortedInpVec = sort(inpVec);
13 isEqualSortedNeighborVec=sortedInpVec(1:nInpElems-1)~=...
14 sortedInpVec(2:nInpElems);
17 isEqualSortedNeighborVec = [
true; isEqualSortedNeighborVec];
19 isEqualSortedNeighborVec = zeros(0,1);
22 unqVec = sortedInpVec(isEqualSortedNeighborVec);
24 indRight2LeftVec = indSortedVec(isEqualSortedNeighborVec);
28 isEqualSortedNeighborVec = full(isEqualSortedNeighborVec);
30 indLeft2RightVec = zeros(0,1);
32 indLeft2RightVec = cumsum(isEqualSortedNeighborVec);
33 indLeft2RightVec(indSortedVec) = indLeft2RightVec;
function uniquesortableobj(in inpVec)
UNIQUE implementation strictly for sortable entities i.e. for those that have 1) full order defined b...
function isrow(in inpArray)