From: Walter Roberson <>
User-Agent: Thunderbird (Macintosh/20100228)
MIME-Version: 1.0
Newsgroups: comp.soft-sys.matlab
Subject: Re: How can I find the mean between to points of normal distribution?
References: <i371ts$ht3$>
In-Reply-To: <i371ts$ht3$>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 9
Message-ID: <PfE5o.51090$dx7.6397@newsfe21.iad>
X-Trace: newsfe21.iad 1280774255 (Mon, 02 Aug 2010 18:37:35 UTC)
NNTP-Posting-Date: Mon, 02 Aug 2010 18:37:35 UTC
Date: Mon, 02 Aug 2010 13:37:35 -0500
Xref: comp.soft-sys.matlab:658393

BobC Cadenza wrote:
> Given a normal distribution with mu,sigma.  How can I find the mean 
> between two points?  So for example I want to find the mean value 
> between -.5 *sigma to +2 sigma?

cdf() to +2 sigma, minus the cdf() to -1/2 sigma.

This is, of course, exactly equivalent to integrating the pdf between 
-1/2 sigma and +2 sigma.