From: "Jeremy " <>
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$>
Reply-To: "Jeremy " <>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: 1303097284 11435 (18 Apr 2011 03:28:04 GMT)
NNTP-Posting-Date: Mon, 18 Apr 2011 03:28:04 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1883796
Xref: 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?