The optimal sampling pattern for linear control systems