I'm looking for a matrix decomposition that deduce the "common" part of two matrices and their "remainders" relative each other.
More formally, given two invertible upper triangular matrices $A$ & $B$ from $\mathbb{R}^{n\times n}$ is there a matrix decomposition that compute three invertible upper triangular matrices $U, M_A$ and $M_B$ such that $A = U\times M_A$ and $B = U\times M_B$ where and $X \times Y$ represent the matrix multiplication of $X$ and $Y$?