help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Sum of all elements of a multi-dimensional matrix


From: Hall, Benjamin
Subject: RE: Sum of all elements of a multi-dimensional matrix
Date: Fri, 4 Mar 2005 09:05:13 -0500

aa = round( rand(3,3,3) )

sum( aa(:) )


-----Original Message-----
From: Deepak, R. [mailto:address@hidden
Sent: Friday, March 04, 2005 4:21 AM
To: octave help mailing list
Subject: Sum of all elements of a multi-dimensional matrix


How can I find the sum of all elements of a multi-dimensional matrix?
-- 
Deepak, R. <http://research.iiit.ac.in/~masatran/>



-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------



-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------



reply via email to

[Prev in Thread] Current Thread [Next in Thread]