The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: Sum operator with 3D matrix
Replies: 4   Last Post: Apr 6, 2016 8:03 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Paolo Tarpanelli

Posts: 49
Registered: 1/9/06
Sum operator with 3D matrix
Posted: Jan 2, 2012 4:33 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply


I have a 3D matrix m(x,y,z) and I would like to sum the 2D matrix(x,y) inside it.

Is it possible to do it without using the For..End loop.
I mean, is there any possibility to use the operator <sum> which go throug the third dimension z ?

Thanks in advance

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.