Re: to get rid of identifical lines
- From: PB <pbodin@xxxxxxxxxxxxxxxxxxx>
- Date: Wed, 10 Aug 2005 12:54:32 +0200
Thus spake <Bin Jiang>:
> HI, I have a file line by line as follows
>
> aaaaaaaaaaa
> bbbbbbbbbbbbb
> bbbbbbbbbbbbb
> cccccccccccc
>
> now I want to get rid of repeated and identifical lines.
> I prefer vectorization to do this job. Any advice is appreciated.
Try:
b = unique(A,'rows');
/PB
--
A: Because it messes up the order in which people normally
read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?
.
- Follow-Ups:
- Re: to get rid of identifical lines
- From: Bin Jiang
- Re: to get rid of identifical lines
- From: PB
- Re: to get rid of identifical lines
- References:
- to get rid of identifical lines
- From: Bin Jiang
- to get rid of identifical lines
- Prev by Date: Re: FSOLVE Accuracy Improvement
- Next by Date: Re: How to put pixels and RGB in m-file??
- Previous by thread: to get rid of identifical lines
- Next by thread: Re: to get rid of identifical lines
- Index(es):
Relevant Pages
|