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: three 3D matrix multiplication
Replies: 4   Last Post: Jan 7, 2013 10:27 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Matt J

Posts: 4,997
Registered: 11/28/09
Re: three 3D matrix multiplication
Posted: Jan 7, 2013 10:27 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

"Jeyakumar " <> wrote in message <kceotp$cum$>...
> thank u much.. ths is simpler even... saves a fraction of time on large dimensions...:-)

When working with large dimensions, you probably shouldn't be computing tensor products directly. You should be exploiting the properties of tensor products. For example, with,

D=bsxfun(@times, A*B, C)

Instead of doing something like


it is more efficient to avoid computing D altogether and do


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.