From: Bruno Luong on
"Robert " <rgrandl(a)yahoo.com> wrote in message <httjuc$6h5$1(a)fred.mathworks.com>...
> Hi all,
>
> I am trying to remove rows which contains duplicates elements.
>
> For e.g.:
>
> X=[ 1 2 3 1 1;
> 2 1 2 2 3;
> 4 1 2 4 3;
> 1 2 3 4 5;
> ]
>

X(all(diff(sort(X,2),1,2),2),:)

Bruno