Solve the matrix equation AXB + X + C = 0 for X - MATLAB Cody - MATLAB Central

Problem 58787. Solve the matrix equation AXB + X + C = 0 for X

Difficulty:Rate
Let A, B, and C be square matrices of equal size, and let the matrix X be defined by the matrix equation
A * X * B + X + C = 0
Please solve this equation for X. For instance, if
A = [1 2 ; 3 4];
B = [5 6 ; 7 8];
C = [9 10 ; 11 12];
then
X = [-1/2 5/3 ; -19/6 1];
solves the equation, as is easily checked. You may assume that A, B and C are such that a solution exists.

Solution Stats

71.43% Correct | 28.57% Incorrect
Last Solution submitted on Jul 31, 2024

Problem Comments

Solution Comments

Show comments
PIVlab surpasses 100K all-time File Exchange downloads
During the past twelve months, PIVlab, a MATLAB Community Toolbox for particle...
2
4
LLMs with MATLAB updated to support the latest OpenAI Models
Large Languge model with MATLAB, a free add-on that lets you access...
2
4

Problem Recent Solvers7

Suggested Problems

More from this Author17

Problem Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Go to top of page