Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: finding a matrix used in matrix transformation
Date: Tue, 9 Nov 2010 17:58:04 +0000 (UTC)
Organization: Boeing Co
Lines: 15
Message-ID: <ibc23c$lns$1@fred.mathworks.com>
References: <ibc1cs$61o$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-02-blr.mathworks.com
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1289325484 22268 172.30.248.37 (9 Nov 2010 17:58:04 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Tue, 9 Nov 2010 17:58:04 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 756104
Xref: news.mathworks.com comp.soft-sys.matlab:685223

"pushkarini " <pushkarini.a@gmail.com> wrote in message <ibc1cs$61o$1@fred.mathworks.com>...
> Hi
> I have known matrices A and B (both square of size n say) such that
> B = inv(M)*A*M
> so that M*B = A*M
> I need to find M
> I can solve a system of n^2 equations in n^2 unknowns to find M, but is there an easier matlab command or another trick to do this? 
> 
> thanks

You might have a look at this related problem:

http://www.mathworks.com/matlabcentral/fileexchange/19614-ab-kba

James Tursa