I am trying to understand the ways to find a rectangular matrix $\mathcal{H}$, of size $m \times n$, in the problem : $$ g = \mathcal{H} f $$
Here, $g$ and $f$ are given and are vectors of sizes $m$ and $n$, respectively.
The matrix notation is given as:
$$\begin{bmatrix} g_{1}\\ \vdots\\ g_{m}\\ \end{bmatrix} = \begin{bmatrix} \mathcal{H}_{11} & \mathcal{H}_{12} & \dots & \mathcal{H}_{1n} \\ \vdots & \vdots &\ddots & \vdots \\ \mathcal{H}_{m1} & \mathcal{H}_{m2} & \dots & \mathcal{H}_{mn} \end{bmatrix} \begin{bmatrix} f_{1}\\ f_{2}\\ \vdots\\ f_{n}\\ \end{bmatrix}$$
Can anyone explain to me the ways to solve this problem and explain the issues of finding a unique solution to this problem?.
The pseudoinverse of the vector $f$ is
$$f^+ = \frac{f^T}{f^Tf}$$ which can be used to write the general solution as $${H = gf^+ + A(I_n-ff^+)}$$ where $A\in{\mathbb R}^{m\times n}$ is an arbitrary matrix. The least squares solution occurs at $A=0$.