From: Alex on 22 Jul 2010 10:08 Jerome Briot <dutmatlab(a)yahoo.fr> wrote in message <fjb25i$ug0$1(a)netfinity.fr>... > Hi, > > try this : > > x=1:17 > setdiff(x,9) > Love setdiff() as this works as well: setdiff(x, 6:9) to remove multiple elements Thanks much! --Alex.
From: us on 22 Jul 2010 10:26 "Alex " <atumlins(a)gmail.com> wrote in message <i29jc4$gj7$1(a)fred.mathworks.com>... > Jerome Briot <dutmatlab(a)yahoo.fr> wrote in message <fjb25i$ug0$1(a)netfinity.fr>... > > Hi, > > > > try this : > > > > x=1:17 > > setdiff(x,9) > > > > Love setdiff() as this works as well: > > setdiff(x, 6:9) to remove multiple elements > > Thanks much! > --Alex. amazing impact of a thread launched almost three years ago... it also shows whatever CSSMers blather in this NG, it lasts forever... :-) us
|
Pages: 1 Prev: doc command misbehaviour Next: USE GPS co-ordinates to generate spline |