Recursive solution of generalized predictive control and its equivalence to receding horizon tracking control