Prev: I guess this is goodbye
Next: help solve
From: shilpa khinvasara on 21 Jul 2010 05:20 sir, can u pls tell me how to count pixels in each bin and plot its histogrsm
From: Loren Shure on 21 Jul 2010 11:10 "shilpa khinvasara" <ship(a)gamil.com> wrote in message news:i26e45$n2u$1(a)fred.mathworks.com... > sir, > can u pls tell me how to count pixels in each bin and plot its histogrsm perhaps imhist will do what you need -- Loren http://blogs.mathworks.com/loren/ http://matlabwiki.mathworks.com/MATLAB_FAQ
From: Walter Roberson on 21 Jul 2010 12:02 shilpa khinvasara wrote: > can u pls tell me how to count pixels in each bin and plot its histogrsm The following will accomplish both aims simultaneously: hist(L(:),max(L(:)) You could easily have found hist() by searching the matlab documentation for information about histograms. The only vaguely tricky part of the above line is the specification of the number of bins to use.
|
Pages: 1 Prev: I guess this is goodbye Next: help solve |