Home > Objects > @iData > unique.m

iFit/unique

PURPOSE ^

s = unique(a,dim) : set unique iData objects axes with no repetitions

SYNOPSIS ^

function s = unique(a,dim,mode)

DESCRIPTION ^

 s = unique(a,dim) : set unique iData objects axes with no repetitions

   @iData/unique function to remove duplicates along data set axes
     unique(a,dim) set unique along axis of rank dim. 
       If dim=0, operates on all axes.
   Alternatively, you can use 'isequal' to find unique data sets and remove 
     duplicates.

 input:  a: object or array (iData)
         dim: dimension to unique (int)
 output: s: data set with unique axes (iData)
 ex:     c=unique(a);

 Version: Mar. 22, 2017
 See also iData, iData/plus, iData/unique, iData/sort, iData/isequal

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Wed 22-Mar-2017 09:13:30 by m2html © 2005. iFit (c) E.Farhi/ILL EUPL 1.1