From: Israel Johnson on
I need to do a histogram with logarithmically spaced bins. The data ranges from 4.327e-24 and are as large as 4.924e-17. How can I choose a good size for the smallest bin and then do the rest of the bins from there? I imagine that I will be using histc because I have a clearly defined min and max value.

I hope to make this repeatable depending on the range of the data. Thanks in advance for your help.

Israel
From: Walter Roberson on
Israel Johnson wrote:
> I need to do a histogram with logarithmically spaced bins. The data
> ranges from 4.327e-24 and are as large as 4.924e-17. How can I choose a
> good size for the smallest bin and then do the rest of the bins from
> there? I imagine that I will be using histc because I have a clearly
> defined min and max value.

perhaps logspace() over the range?
From: TideMan on
On May 25, 3:54 pm, "Israel Johnson" <mconvers...(a)yahoo.com> wrote:
> I need to do a histogram with logarithmically spaced bins.  The data ranges from 4.327e-24 and are as large as 4.924e-17.  How can I choose a good size for the smallest bin and then do the rest of the bins from there?  I imagine that I will be using histc because I have a clearly defined min and max value.
>
> I hope to make this repeatable depending on the range of the data.  Thanks in advance for your help.
>
> Israel

help logspace
 | 
Pages: 1
Prev: Time series WNN input
Next: about graphalgs.mexw32