Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Avoid for loop with floor function
Date: Tue, 8 Nov 2011 13:10:27 +0000 (UTC)
Organization: Neogrid Technologies
Lines: 10
Message-ID: <j9b9o3$2i8$1@newscl01ah.mathworks.com>
References: <j98toa$50u$1@newscl01ah.mathworks.com> <j99jhr$nkq$1@newscl01ah.mathworks.com> <j9akui$1jb$1@newscl01ah.mathworks.com> <j9alcu$30l$1@newscl01ah.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: www-06-blr.mathworks.com
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: newscl01ah.mathworks.com 1320757827 2632 172.30.248.38 (8 Nov 2011 13:10:27 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Tue, 8 Nov 2011 13:10:27 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 2194617
Xref: news.mathworks.com comp.soft-sys.matlab:748648

"Bruno Luong" <b.luong@fogale.findmycountry> wrote in message <j9alcu$30l$1@newscl01ah.mathworks.com>...
> "Per" wrote in message <j9akui$1jb$1@newscl01ah.mathworks.com>...
> 
> > 
> > I have considered using histc, but I need to process the values inside each bin, not only count the number of values. I don't think this can be done with histc.
> 
> I could. Usually it can be done by HISTC followed by ACCUMARRAY.
> 
> Bruno
Thanks for your hint Bruno - it works now with ACCUMARRAY