5 % Calculate the cost functional by solving the corresponding reduced
7 % This
function returns
8 % Jred ..................... the value of the reduced cost functional
9 % lrQ ...................... the low rank factor of the solution to the
10 % corresponding Lyapunov equation
12 % Andreas Schmidt, 2015
15 rsim = rb_simulation(model, reduced_data);
20 % Assemble the matrices:
27 lQ = lyap_sgn_fac(Y, lG, E);
29 Jred = x0
'*(E'*lQ
')*lQ*(E*x0);
function [ Jred , lrQ ] = riccati_reduced_cost_functional(model, reduced_data, varargin)
[Jred, lrQ] = riccati_reduced_cost_functional(model, reduced_data, varargin)
function [ E , A , B , C , x0 ] = riccati_assemble_system_matrices(model, model_data)
model_data)