Given two column vectors, $X$ and $Y$, how can I solve the equation $AX=Y$ for the matrix $A$?
I can solve for column vector $Y$ given matrix $A$ and column vector $X$.
I would like to compute $A$ from columns vectors $X$ and $Y$.
I tried the pseudo-inverse for a vector with little success as $A=YX+$ did not give me $A$.
Example
$$\begin{bmatrix} 1 & 2 \\ 3 & 4\end{bmatrix}\begin{bmatrix}1\\2\end{bmatrix} = \begin{bmatrix}5\\11\end{bmatrix}$$
Thank you.