I got an assignment where it asked to implement (in MATLAB) the gradient descent algorithm in order to resolve an ill posed least square problem:
$$ \min_u \Vert Gu - f \Vert $$
where $u$ is the reconstructed image, $G$ is the blur applied to $u$ and $f$ is the blurred image.
I have successfully implemented it with MATLAB, it is effectively removing a portion of the applied blur, but I do not understand why applying a gradient descent method to this ill posed least square problem can effectively remove the blur from an image.