If $A,B,C,D$ are all matrices and $A=BCD$ (with dimensions such that all matrix multiplications are defined), how does one solve for $C$?
In the particular context I'm working in, $B$ and $D$ are both orthogonal, and $C$ is diagonal. I'm not sure if that's necessary to solve for $C$.
You would have to multiply by $B^{-1}$ on the left on each side of the equation which would cancel $B$ on the right, and then by $D^{-1}$ on the right on each side, which would cancel $D$, like this: $$\begin{align}A&=BCD\\B^{-1}A&=B^{-1}BCD\\B^{-1}A&=CD\\B^{-1}AD^{-1}&=CDD^{-1}\\B^{-1}AD^{-1}&=C\end{align}$$