Path: news.mathworks.com!not-for-mail
From: "David Doria" <daviddoria@gmail.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Solving AM = MB
Date: Tue, 14 Oct 2008 23:10:05 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 13
Message-ID: <gd38sd$eb9$1@fred.mathworks.com>
References: <gd34pk$csc$1@fred.mathworks.com> <gd36qn$sl9$1@fred.mathworks.com>
Reply-To: "David Doria" <daviddoria@gmail.com>
NNTP-Posting-Host: webapp-03-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1224025805 14697 172.30.248.38 (14 Oct 2008 23:10:05 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Tue, 14 Oct 2008 23:10:05 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1105197
Xref: news.mathworks.com comp.soft-sys.matlab:495192


So I was looking to solve
AM = MB 

And abba.m solves
AB = BA

which is slightly different, because there are only 2 matrices A and B, instead of A,B, and M.

I was a victim of your comment "% have fun with this next line...". I read the help for kron() but I have no background with tensors.  Could you give a couple line explanation of what that is doing? I can't modify your code to fit this problem because I don't know what that line does, and it seems to be about the whole thing!!

Thanks,

Dave