Path: news.mathworks.com!not-for-mail
From: "ghasem " <shaban_sadeghi@yahoo.com>
Newsgroups: comp.soft-sys.matlab
Subject: MTIMESX when Inner matrix dimensions are not agree.
Date: Wed, 17 Apr 2013 22:10:10 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 15
Message-ID: <kkn6k2$64$1@newscl01ah.mathworks.com>
Reply-To: "ghasem " <shaban_sadeghi@yahoo.com>
NNTP-Posting-Host: www-06-blr.mathworks.com
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: newscl01ah.mathworks.com 1366236610 196 172.30.248.38 (17 Apr 2013 22:10:10 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Wed, 17 Apr 2013 22:10:10 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 4223132
Xref: news.mathworks.com comp.soft-sys.matlab:793778

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