From: Matt J on
"Joel Lim" <joellim_90(a)hotmail.com> wrote in message <i14vpg$pi2$1(a)fred.mathworks.com>...

> > This is just a histogramming operation. See "help histc".
>
> Thanks, but how do i take care of the for loop using vectorization?

What you're currently doing with a for-loop, histc() will do in a single command, and in optimized bulitin code.
First  |  Prev  | 
Pages: 1 2
Prev: MATLAB to AWG7000
Next: Reassign values