Path: news.mathworks.com!not-for-mail
From: "Jeremy " <jeremy.brower@asu.edu>
Newsgroups: comp.soft-sys.matlab
Subject: dynamic binning?
Date: Mon, 18 Apr 2011 03:28:04 +0000 (UTC)
Organization: Arizona State University
Lines: 9
Message-ID: <iogb44$b5b$1@fred.mathworks.com>
Reply-To: "Jeremy " <jeremy.brower@asu.edu>
NNTP-Posting-Host: www-05-blr.mathworks.com
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1303097284 11435 172.30.248.37 (18 Apr 2011 03:28:04 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Mon, 18 Apr 2011 03:28:04 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1883796
Xref: news.mathworks.com comp.soft-sys.matlab:722398

Hi everyone. Wondering if anyone had any thoughts about this...

I've got a bunch of sets of discrete data points, with each point in the x-dimension having an intensity in the y-dimension. I want to bin the data, summing the intensities of data points that are binned together. That is straightforward to do.

But, I want the bins to be non-uniform, meaning that the further to the left on the x-axis, I want the bins to be narrower, and the further to the right on the x-axis, I want the bins to be wider. Anyone have any thoughts on the right way to do this? I'd prefer to avoid discretizing the changes in bin width, meaning that I would prefer to apply a smooth gradient of bin widths.

Does that make sense?
Thanks,
Jeremy