From: "Bruno Luong" <b.luong@fogale.findmycountry>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Avoid for loop with floor function
Date: Tue, 8 Nov 2011 07:23:10 +0000 (UTC)
Organization: FOGALE nanotech
Lines: 8
Message-ID: <j9alcu$30l$>
References: <j98toa$50u$> <j99jhr$nkq$> <j9akui$1jb$>
Reply-To: "Bruno Luong" <b.luong@fogale.findmycountry>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: 1320736990 3093 (8 Nov 2011 07:23:10 GMT)
NNTP-Posting-Date: Tue, 8 Nov 2011 07:23:10 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 390839
Xref: comp.soft-sys.matlab:748621

"Per" wrote in message <j9akui$1jb$>...

> 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.