<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/265332</link>
    <title>MATLAB Central Newsreader - How to fit normal distribution to histogram</title>
    <description>Feed for thread: How to fit normal distribution to histogram</description>
    <language>en-us</language>
    <copyright>&amp;copy;1994-2012 by MathWorks, Inc.</copyright>
    <webmaster>webmaster@mathworks.com</webmaster>
    <generator>MATLAB Central Newsreader</generator>
    <docs>http://blogs.law.harvard.edu/tech/rss</docs>
    <ttl>60</ttl>
    <image>
      <title>MathWorks</title>
      <url>http://www.mathworks.com/images/membrane_icon.gif</url>
    </image>
    <item>
      <pubDate>Mon, 09 Nov 2009 09:06:02 -0500</pubDate>
      <title>How to fit normal distribution to histogram</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/265332#693158</link>
      <author>Jamal Mohamed</author>
      <description>Hi&lt;br&gt;
&amp;nbsp;How to fit normal(or any) distribution to histogram based its mode(peak) for image data ?</description>
    </item>
    <item>
      <pubDate>Mon, 09 Nov 2009 09:31:47 -0500</pubDate>
      <title>Re: How to fit normal distribution to histogram</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/265332#693161</link>
      <author>Nasser M. Abbasi</author>
      <description>&lt;br&gt;
&quot;Jamal Mohamed&quot; &amp;lt;in.jamal@yahoo.com&amp;gt; wrote in message &lt;br&gt;
news:hd8m1p$rqq$1@fred.mathworks.com...&lt;br&gt;
&amp;gt; Hi&lt;br&gt;
&amp;gt; How to fit normal(or any) distribution to histogram based its mode(peak) &lt;br&gt;
&amp;gt; for image data ?&lt;br&gt;
&lt;br&gt;
normal dist. requires 2 parameters. mean and variance (or standard &lt;br&gt;
deviation). can't just use the peak. If you have the data itself (the sample &lt;br&gt;
from which you got the histogram from) then you can easily estimate these &lt;br&gt;
from the sample data.&lt;br&gt;
&lt;br&gt;
If you just have the plot itself, then you can find the mean (where the peak &lt;br&gt;
is), for variance, find the area around the mean which is about 68% of total &lt;br&gt;
area, this gives you 2 standard deviations as measured on the x-axis under &lt;br&gt;
this area. But I am no expert on this so I could be off here.&lt;br&gt;
&lt;br&gt;
(there is a statistic newgroup group btw).&lt;br&gt;
&lt;br&gt;
--Nasser</description>
    </item>
    <item>
      <pubDate>Mon, 09 Nov 2009 10:00:20 -0500</pubDate>
      <title>Re: How to fit normal distribution to histogram</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/265332#693166</link>
      <author>Frederic Moisy</author>
      <description>Once the histogram of the image data is plotted, one easy way&lt;br&gt;
to fit a normal distribution or other is to use the Ezyfit toolbox,&lt;br&gt;
&lt;a href=&quot;http://www.mathworks.com/matlabcentral/fileexchange/10176-ezyfit-2-30&quot;&gt;http://www.mathworks.com/matlabcentral/fileexchange/10176-ezyfit-2-30&lt;/a&gt;&lt;br&gt;
Have a look to the example file&lt;br&gt;
&lt;a href=&quot;http://www.mathworks.com/matlabcentral/fx_files/10176/3/content/ezyfit/demo/html/efdemo.html&quot;&gt;http://www.mathworks.com/matlabcentral/fx_files/10176/3/content/ezyfit/demo/html/efdemo.html&lt;/a&gt;&lt;br&gt;
in which a normal fit is illustrated.&lt;br&gt;
Frederic&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&quot;Jamal Mohamed&quot; &amp;lt;in.jamal@yahoo.com&amp;gt; wrote in message &amp;lt;hd8m1p$rqq$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; Hi&lt;br&gt;
&amp;gt;  How to fit normal(or any) distribution to histogram based its mode(peak) for image data ?</description>
    </item>
    <item>
      <pubDate>Mon, 09 Nov 2009 11:45:03 -0500</pubDate>
      <title>Re: How to fit normal distribution to histogram</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/265332#693183</link>
      <author>Wayne King</author>
      <description>&quot;Frederic Moisy&quot; &amp;lt;moisy@fast.u-psud.fr&amp;gt; wrote in message &amp;lt;hd8p7j$3hb$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; Once the histogram of the image data is plotted, one easy way&lt;br&gt;
&amp;gt; to fit a normal distribution or other is to use the Ezyfit toolbox,&lt;br&gt;
&amp;gt; &lt;a href=&quot;http://www.mathworks.com/matlabcentral/fileexchange/10176-ezyfit-2-30&quot;&gt;http://www.mathworks.com/matlabcentral/fileexchange/10176-ezyfit-2-30&lt;/a&gt;&lt;br&gt;
&amp;gt; Have a look to the example file&lt;br&gt;
&amp;gt; &lt;a href=&quot;http://www.mathworks.com/matlabcentral/fx_files/10176/3/content/ezyfit/demo/html/efdemo.html&quot;&gt;http://www.mathworks.com/matlabcentral/fx_files/10176/3/content/ezyfit/demo/html/efdemo.html&lt;/a&gt;&lt;br&gt;
&amp;gt; in which a normal fit is illustrated.&lt;br&gt;
&amp;gt; Frederic&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; &quot;Jamal Mohamed&quot; &amp;lt;in.jamal@yahoo.com&amp;gt; wrote in message &amp;lt;hd8m1p$rqq$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; &amp;gt; Hi&lt;br&gt;
&amp;gt; &amp;gt;  How to fit normal(or any) distribution to histogram based its mode(peak) for image data ?&lt;br&gt;
&lt;br&gt;
If you have the statistics toolbox, there is also a histfit() function which provides density fits for a number of distributions.&lt;br&gt;
&lt;br&gt;
Wayne</description>
    </item>
  </channel>
</rss>

