題組內容
3. Let $\mathbf{B} = \begin{bmatrix} \frac{1}{\sqrt{2}} & 0 & \frac{1}{\sqrt{2}} \\ 0 & 1 & 0 \\ -\frac{1}{\sqrt{2}} & 0 & \frac{1}{\sqrt{2}} \\ 0 & 1 & 0 \end{bmatrix}$.
(a) \( (10\%) \) Solve the least squares problem \( \mathbf{B}\mathbf{x} = \mathbf{b} \) for \( \mathbf{b} = (1,3,2,4)^{\mathrm{T}} \)