From: ragab Rabeiy on
hello all,
i have results in text form. fore example:

a
b
c
c
d
c
a

I would like to find the most repeated text:
thank you
ragab
From: PinkLab on
hint: doc mode

"ragab Rabeiy" <r_rabeiy(a)yahoo.com> wrote in message <hpvmei$4ik$1(a)fred.mathworks.com>...
> hello all,
> i have results in text form. fore example:
>
> a
> b
> c
> c
> d
> c
> a
>
> I would like to find the most repeated text:
> thank you
> ragab
From: ragab Rabeiy on

thank you very much
but, I found that ,mode used only for number not for text.
how can i use it in text. may you have an idea



"PinkLab " <pinklab(a)pinklab.com> wrote in message <hpvo4s$qqm$1(a)fred.mathworks.com>...
> hint: doc mode
>
> "ragab Rabeiy" <r_rabeiy(a)yahoo.com> wrote in message <hpvmei$4ik$1(a)fred.mathworks.com>...
> > hello all,
> > i have results in text form. fore example:
> >
> > a
> > b
> > c
> > c
> > d
> > c
> > a
> >
> > I would like to find the most repeated text:
> > thank you
> > ragab
From: us on
"ragab Rabeiy" <r_rabeiy(a)yahoo.com> wrote in message <hpvmei$4ik$1(a)fred.mathworks.com>...
> hello all,
> i have results in text form. fore example:
>
> a
> b
> c
> c
> d
> c
> a
>
> I would like to find the most repeated text:
> thank you
> ragab

a hint:
- these are your friends...

help unique;
help histc;

us
From: Bruno Luong on
char(mode(double('CharIsArrayOfUnicode')))

% Bruno
 | 
Pages: 1
Prev: Hessian fmincon
Next: Optimizing Gaussian mix fit