Matlab Unique, Its flexibility … Guide to MATLAB Unique.