MATLAB: Consider the scalar discrete-time optimal control problem: Where N is a very large positive integer.
1. Solve the Riccati equation sequentially.
2. Solve the steady-state Riccati equation. Verify that the result is the same as above.
3. Determine the total cost J.
1. Consider the scalar discrete-time optimal control problem:
Tk+1 = -Tk + uk, To = 1, N = 1, 2, Min: J = k=0.
where N is a very large positive integer.
(a) Solve the Riccati equation sequentially (backwards) as presented in class.
(b) Solve the steady-state Riccati equation. Verify that the result is the same as obtained above.
(c) Determine the total cost J.
(d) Determine the value of J if the sub-optimal control law u = 0.5 is applied.