From: Alex on
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
"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