Title: Development of an optimal Controller in MATLAB