3.0

3.0 | 2 ratings Rate this file 147 downloads (last 30 days) File Size: 1.95 KB File ID: #19614

A*B = k*B*A

by John D'Errico

 

17 Apr 2008 (Updated 17 Jun 2009)

Code covered by BSD License  

Solves the homogeneous linear system A*B = k*B*A

Download Now | Watch this File

File Information
Description

An interesting homework assignment is to solve the homogeneous linear matrix system, A*B = k*B*A. This is a form of a linear algebraic Riccati equation.

When k = 1, this always has a solution for real A. When k = -1, the solution only exists for specific matrices A.

abba uses a kron trick to reformulate this as a standard linear system, then solves the problem for one specific (arbitrary) solution.

MATLAB release MATLAB 7.4 (R2007a)
Zip File Content  
Other Files abba.m,
license.txt
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (5)
21 Apr 2008 John D'Errico

I've updated a new release already - improving the help. Make sure you download the update.

22 Apr 2008 Marco Pittaluga

in the title there is A*B=k*B*A and after there is A*b=k*B*A... now... question is: A*B or A*b? Is different

25 Apr 2008 Kacem Baraket

do not tell the applications in engineering of this equation

15 Jun 2009 Bruno Luong

A small bug at line 70. It should be (transpose, not conjugate transpose in the second kron)
M = kron(eye(n),A) - kron(k*A.',eye(n))

17 Jun 2009 Laoji Zhou  
Please login to add a comment or rating.
Updates
21 Apr 2008

Improved the help

23 Apr 2008

A one character change in the summary: b --> B

17 Jun 2009

Removed the requirement for real inputs, also fixed the problem with transpose versus ctranspose as pointed out by Bruno.

Tag Activity for this File
Tag Applied By Date/Time
linear algebra John D'Errico 22 Oct 2008 09:58:08
homogeneous John D'Errico 22 Oct 2008 09:58:08
linear John D'Errico 22 Oct 2008 09:58:08
riccati John D'Errico 22 Oct 2008 09:58:08
system John D'Errico 22 Oct 2008 09:58:08
linear loganathan r 09 Jul 2009 00:59:39
homogeneous loganathan r 09 Jul 2009 00:59:47
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com