Path: news.mathworks.com!not-for-mail
From: "us " <us@neurol.unizh.ch>
Newsgroups: comp.soft-sys.matlab
Subject: Re: accessing the same elements repeatedly in a vectorized fashion?
Date: Thu, 2 Aug 2007 06:03:04 +0000 (UTC)
Organization: Universit&#228;tsSpital Z&#252;rich
Lines: 12
Message-ID: <f8rs2o$lv$1@fred.mathworks.com>
References: <f8r2uh$oib$1@fred.mathworks.com>
Reply-To: "us " <us@neurol.unizh.ch>
NNTP-Posting-Host: webapp-00-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1186034584 703 172.30.248.35 (2 Aug 2007 06:03:04 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Thu, 2 Aug 2007 06:03:04 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 11
Xref: news.mathworks.com comp.soft-sys.matlab:422137


Ori:
<SNIP wants to accumulate his/her values...

as others said

     help accumarray;

-and- look at <loren shure>'s contribution here

http://blogs.mathworks.com/loren/2007/07/26/assignment-with-repeated-indices/

us