So I have a problem in the form of $y = Ax$, where $A$ is a matrix and $x$ and $y$ are vectors. $A$ is a skinny matrix and I would like to do a least squares solution to solve for $x$. Let's say though that $x$ has $10$ rows. In my solution I require that the first say $3$ elements of $x = [A;B;C]$. Does anyone have any thoughts on how I can perform a least squares solution with the constraint that the first $3$ rows of my solution are already defined?
Thanks!