Riccati equation
X=ric_desc(H [,E)) [X1,X2,zero]=ric_desc(H [,E])
real square matrices
real square matrices
real number
Riccati solver with hamiltonian matrices as inputs.
In the continuous time case, the syntax is ric_descr(H) (one input):
Riccati equation is:
Defining the hamiltonian matrix H by:
with the syntax [X1,X2,zero]=ric_descr(H), the
solution X is given by X=X1/X2.
zero = L1 norm of rhs of (Ec)
The solution X is also given by X=riccati(A,Q,R,'c'))
In the discrete-time case, the syntax is ric_descr(H,E) (two inputs):
The Riccati equation is:
Defining G=B/R*B' and the hamiltonian pencil (E,H) by:
with the syntax [X1,X2,err]=ric_descr(H,E), the
solution X is given by X=X1/X2.
zero= L1 norm of rhs of (Ed)
The solution X is also given by X=riccati(A,G,C,'d')
with G=B/R*B'