Path: news.mathworks.com!newsfeed-00.mathworks.com!newsfeed2.dallas1.level3.net!news.level3.com!postnews.google.com!i25g2000yqm.googlegroups.com!not-for-mail
From: ImageAnalyst <imageanalyst@mailinator.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: An even nastier vector operation!
Date: Thu, 18 Mar 2010 10:20:51 -0700 (PDT)
Organization: http://groups.google.com
Lines: 3
Message-ID: <fa49b8fe-3d84-4bb8-a304-c39dad6b49a7@i25g2000yqm.googlegroups.com>
References: <hntltp$r3r$1@fred.mathworks.com>
NNTP-Posting-Host: 192.44.136.113
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
X-Trace: posting.google.com 1268932851 4034 127.0.0.1 (18 Mar 2010 17:20:51 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Thu, 18 Mar 2010 17:20:51 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: i25g2000yqm.googlegroups.com; posting-host=192.44.136.113; 
	posting-account=0rLUzAkAAABojYSRC64DkTbtiSCX77HH
User-Agent: G2/1.0
X-HTTP-Via: 1.1 bdci2px (NetCache NetApp/6.0.7)
X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; 
	CyberSafe-IWA-Enable; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 
	3.5.30729; MS-RTC LM 8),gzip(gfe),gzip(gfe)
Xref: news.mathworks.com comp.soft-sys.matlab:617984

So you have the number of elements to average together, but what are
their indices?  Let's say you are looking at number_in_sample(2) - it
says to average 3 elements of A.  But which three?!?