Drexel dragonThe Math ForumDonate to the Math Forum

Search All of the Math Forum:

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

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

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,996
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 " <jeymagnetron@gmail.com> wrote in message <kceotp$cum$1@newscl01ah.mathworks.com>...
> thank u ...so 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 1994-2015. All Rights Reserved.