From: Tom Lane on

>> Try "help mle" for information about fitting a distribution when you want
>> to
>> supply the form of the pdf.
>>
>> If you have values from a pdf, and you want to fit a density-shaped curve
>> to them, then you might want to take a look at this demo:
>>
>> http://www.mathworks.com/products/statistics/demos.html?file=/products/demos/shipping/stats/cfitdfitdemo.html
>>
>> -- Tom
> That's the problem, Idon't have sample values but thispure pdf function,
> mle is fitting sample values. It seems that the link you given is also
> concentrted on sample fitting while I need find out the parameter define a
> pdf. if using mle, i'll get N~(0.0213 0.0155), but from the curve
> obviously the mean is around 800 and 1200 seperately.

Right, but that's the point of my second statement with the link to a demo.
It shows how to fit a density-shaped curve to histogram heights.Your plot
looks like a histogram, normalized to integrate to one. If that's not right,
let me know.

-- Tom