rbmatlab  1.16.09
 All Classes Namespaces Files Functions Variables Modules Pages
riccati_stability_constant.m
Go to the documentation of this file.
1 function nu = riccati_stability_constant(model, model_data, sim)
2 %function nu = riccati_stability_constant
3 % This function can be used to calculate the stability constant for the
4 % model.
5 %
6 % Note that this function uses high dimensional calculations!
7 %
8 % Andreas Schmidt, 2015
9 %
10 
11 [E,A,~,~] = riccati_assemble_system_matrices(model,model_data);
12 if ~issymmetric(E)
13  error('Currently only symmetric E is supported')
14 end
15 nu = eigs(A+A', E, 1, 'LA')/2;
16 
17 end
function nu = riccati_stability_constant(model, model_data, sim)
This function can be used to calculate the stability constant for the model.
function [ E , A , B , C , x0 ] = riccati_assemble_system_matrices(model, model_data)
model_data)