Prev: $Wholesale Sports Shoes Clear Air Force One AAA++quality
Next: How to find a white frame in an image with matlab
From: Robert on 30 May 2010 09:34 "Bruno Luong" <b.luong(a)fogale.findmycountry> wrote in message <httkjc$htr$1(a)fred.mathworks.com>... > "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 Thank you so much Bruno. It works. |