Re: Select from a list
- To: mathgroup at smc.vnet.net
- Subject: [mg49869] Re: [mg49856] Select from a list
- From: Sseziwa Mukasa <mukasa at jeol.com>
- Date: Thu, 5 Aug 2004 09:20:29 -0400 (EDT)
- References: <200408041446.KAA20166@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
[Other posts that gave this exact answer will not be posted - moderator]
On Aug 4, 2004, at 10:46 AM, Feng-Yin Chang wrote:
> Hi everyone,
>
> Does anyone have an idea to drop the repeating elements in one list?
> The list was built in sequence,fortunately.
>
> for example,
> from a={1,1,2,2,4,6,6,8,8,9}
> to a1={1,2,4,6,8,9}
Union[a1]
Regards,
Ssezi
- References:
- Select from a list
- From: Feng-Yin Chang <fychang@slac.stanford.edu>
- Select from a list