The system representation in the input-output data space, which was proposed recently, leads to a new control strategy for a linear time-invariant plant. The control input is computed directly from the input-output data of the plant without using any traditional mathematical model, such as transfer function or state space equation. This paper considers a dead-beat tracking problem for arbitrary reference signals in that framework, and presents the optimal control for a quadratic performance index