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: MTIMESX when Inner matrix dimensions are not agree.
Replies: 11   Last Post: Apr 18, 2013 2:19 PM

Advanced Search

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

Posts: 118
Registered: 4/13/13
Re: MTIMESX when Inner matrix dimensions are not agree.
Posted: Apr 18, 2013 10:28 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

> In addition, think about the
> you from six months from now. Which of these two lines of code will take
> that you less time to understand?
> c =a.*b;
> c = permute(mtimesx(permute(a,[2 3 1]),permute(b,[2 3 1])),[3 1 2]);
> --
> Steve Lord
> To contact Technical Support use the Contact Us link on

I know that .* is simpler and faster.I measured three method and .* is very faster than two other question was wrong.
in fact I want to know that is there any method better than .* operator in 3d?

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.