For a computer system, the process as well as the linear quadratic performance index
are time-continuous, but the controller is time-discrete. A set of algorithms for optimal
design of sampled-data control system is given in this paper. The key problem for the
computation lies in the discretization of the process model and the performance index.
Formulas and algorithms for the discretization are developed. Besides, an interval doubling
procedure for increasing reliability of the algorithms and the corresponding programs are
introduced. Finally, an example is given to illustrate the application of such algorithms.