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: 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 ]
ghasem

Posts: 72
Registered: 4/13/13
MTIMESX when Inner matrix dimensions are not agree.
Posted: Apr 17, 2013 6:10 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Hi.
I want to use from MTIMEXS method ( by James Tursa) to multiply 3d arrays,when Inner matrix dimensions are not agree.
for example I have:
A=rand(33,32,32);
B=rand(33,32,32);
So,if I use from " mtimesx(A,B) , I will get this error:
??? Error using ==> mtimesx
Inner matrix dimensions must agree.

while,I used from Point by point multiplication method,previously.i.e:
C = A.*B
============
can I use from "mtimesx" or "mmx" methods in this case?
best wishes...
ghasem



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

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.