Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Give me a good example for accumarray()
Date: Sat, 4 Jul 2009 08:54:01 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 4
Message-ID: <h2n5b9$lo7$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-05-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1246697641 22279 172.30.248.35 (4 Jul 2009 08:54:01 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Sat, 4 Jul 2009 08:54:01 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1477385
Xref: news.mathworks.com comp.soft-sys.matlab:552757


Hello,
I am learning MATLAB and when I read about the accumarray() function it looks good but I didn't understand how the examples worked. 

Could someone give me a nice small example (problem) and how accumarray solves it?