Path: news.mathworks.com!newsfeed-00.mathworks.com!kanaga.switch.ch!switch.ch!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsfeed.straub-nv.de!feeder.eternal-september.org!eternal-september.org!not-for-mail
From: dpb <none@non.net>
Newsgroups: comp.soft-sys.matlab
Subject: Re: add all the dimensions
Date: Thu, 03 Sep 2009 22:55:18 -0500
Organization: A noiseless patient Spider
Lines: 9
Message-ID: <h7q3b9$3g0$1@news.eternal-september.org>
References: <h7q2pb$qen$1@fred.mathworks.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: news.eternal-september.org U2FsdGVkX19SqgNYF9/4kFEQgvmfGDIwwHnVWUVg5w+GGBrXAxX7yrYJvxq1QuLzzbzfQx3KMXqusTVl1RaILoleU9ELoo9uyWFiWICThoY96yTkuN8mRCLXohwRSG0MuhP2z5zVFSI=
X-Complaints-To: abuse@eternal-september.org
NNTP-Posting-Date: Fri, 4 Sep 2009 03:59:38 +0000 (UTC)
In-Reply-To: <h7q2pb$qen$1@fred.mathworks.com>
X-Auth-Sender: U2FsdGVkX1+qsaaUlgY1RMUaKJuWoml8+6V/Gky2VEk=
Cancel-Lock: sha1:LeWI9pKSxS01JCy7gv0JT9IdKj0=
User-Agent: Thunderbird 2.0.0.22 (Windows/20090605)
Xref: news.mathworks.com comp.soft-sys.matlab:568270


Diego Lass wrote:
...

> what is the most efficient way of doing this?


sum(a,3)

--