⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 decaybmiex.m

📁 国外专家做的求解LMI鲁棒控制的工具箱,可以相对高效的解决LMI问题
💻 M
字号:
clc
echo on
%*********************************************************
%
% Decay-rate estimation using non-convex SDP
%
%*********************************************************
%
% The problem we solve is estimatation of decay-rate of a 
% linear system x' = Ax. This can be formulated as a 
% generalized eigenvalue problem (GEVP)
%
% max alpha
% s.t A'P+PA < -2alphaP
%          P > I
%
% This time, we solve it as a BMI using PENBMI (hence you 
% need PENBMI to run this demo). Note, this is a quasi-convex
% problem, and PENBMI is actually guaranteed to find the
% global optima.
pause
clc

% Define the variables
A = [-1 2;-3 -4];
P = sdpvar(2,2);
alpha = sdpvar(1,1);
pause

% Define the GEVP
F = set(P>eye(2))+set(A'*P+P*A < -2*alpha*P) + set(alpha > 0);
pause
% Maximize alpha (minimize -alpha)
solvesdp(F,-alpha);
double(alpha)
pause

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -