In this paper it is shown that the generalizedsmoothing splineobtained by solving an optimal control problem for a linear control system converges to a deterministic curve even when the data points are perturbed by random noise. We furthermore show that such a spline acts as a filter for white noise.Examples are constructed that support the practical usefulness of the method as well asgives somehints as to the speed of convergence.