Consider the following linear equation
$A X + X B = C$
where $A$, $B$, $C$, are known real $n \times n$ square matrices, and where $X$ is an unknown real $n \times n$ square matrix. I want to have an analytical expression for the matrix $X$ that solves the above linear problem.