Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: how to get multiprod working
Date: Sat, 22 Jan 2011 01:57:04 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 60
Message-ID: <ihddhg$hhd$1@fred.mathworks.com>
References: <ihal0c$l8n$1@fred.mathworks.com> <iham08$pjm$1@fred.mathworks.com> <ihbppt$nl1$1@fred.mathworks.com> <ihc5pk$o8u$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: www-00-blr.mathworks.com
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1295661424 17965 172.30.248.45 (22 Jan 2011 01:57:04 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Sat, 22 Jan 2011 01:57:04 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1037739
Xref: news.mathworks.com comp.soft-sys.matlab:705298

"Steven_Lord" <slord@mathworks.com> wrote in message <ihc5pk$o8u$1@fred.mathworks.com>...
> 
> 
> "Jonathan W Smith" <jwsmith9@gmail.com> wrote in message 
> news:ihbppt$nl1$1@fred.mathworks.com...
> > "James Tursa" wrote in message <iham08$pjm$1@fred.mathworks.com>...
> >> "Jonathan W Smith" wrote in message <ihal0c$l8n$1@fred.mathworks.com>...
> >> > Hello
> >> > I downloaded multiprod.  What is next?  Do you have to "install" it? 
> >> > What MATLAB directory does it go under.  How can I use it like any 
> >> > other function (i.e. find, flipud,etc...)
> >> >
> >> > Thanks
> >> > Jonathan
> >>
> >> I think you just put the m-files anywhere on the MATLAB path, usually in 
> >> one of your own directories (not a MATLAB toolbox directory). You might 
> >> also have a look at this submission:
> >>
> >> http://www.mathworks.com/matlabcentral/fileexchange/25977-mtimesx-fast-matrix-multiply-with-multi-dimensional-support
> >>
> >>
> >> James Tursa
> >
> > James and all
> > multiprod and mtimesx are not running even when I dragged the utility into 
> > the MATLAB folder.  I am running MATLAB on Windows XP.  I have the 2006 
> > version.  Does you or do you know anyone that has some explicit directions 
> > on how to install multiprod or mtimesx?  I did not see a readme.
> 
> Do NOT add, remove, or modify files under the toolbox subdirectory of the 
> MATLAB root directory (as returned by the MATLABROOT function.)
> 
> http://www.mathworks.com/help/techdoc/matlab_env/f8-28521.html
> 
> Place these files in another directory that is on the search path.
> 
> http://www.mathworks.com/help/techdoc/matlab_env/br7ppws-1.html
> 
> -- 
> Steve Lord
> slord@mathworks.com
> To contact Technical Support use the Contact Us link on 
> http://www.mathworks.com 


Hello

I have 2 matrices A(6,6,4,24,28) and B(6,6,28)  I want to do the following A(6,6,1,1,1) x B(6,6,1) ... A(6,6,4,24,28) x B(6,6,28) but only when the 5th dimension of A and 3rd dimension of B match.

Perhaps I need a loop.

I was getting erroneous values for the elements in the 6x6 matrices when using multiprod.

I do not have visual basic that allows me to use mtimesx.

Any thoughts?

Thanks
Jonathan