From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Histogram to Probability ditribution function
Date: Sat, 13 Mar 2010 20:43:05 +0000 (UTC)
Organization: PatientsLikeMe
Lines: 9
Message-ID: <hngtcp$h0b$>
References: <hnfje9$r0d$>
Reply-To: <HIDDEN>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: 1268512985 17419 (13 Mar 2010 20:43:05 GMT)
NNTP-Posting-Date: Sat, 13 Mar 2010 20:43:05 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1841757
Xref: comp.soft-sys.matlab:616577

"Mehdi bahonar" <> wrote in message <hnfje9$r0d$>...
> Hi There,
> Do you know how we can convert histogram plot to probability density function plot?
> Thanks,
> maryam

As has been mentioned, use HISTFIT if you know the underlying distribution type that you want to fit (e.g. normal distribution).  If you do not, then you need to do a non-parametric fit.  You can use the KSDENSITY function to do this.  Note that this is a bit of an art in addition to science.  You might want to read up on "kernel density estimation".