(2)LMI toolbox: Linear Matrix Inequality,线性矩阵不等式。搜迅
(3)如芹桐何定义一个LMI系统:
1.初始化一个 LMI 系世首此统
Solving gevp Problem in Matlab30/10/10 13:51 Filed in: Matlab Code
http://arashfotouhi.com/files/92158ff4aad04c216118e30d5a6fbc71-0.html
In order to solve the following optimization problem:
minimize a
subject to
[A’P+PA+C-aP,(BP+CQ)’
BP+CQ,-I] <0
&
P=P’>0
in Matlab use the code below:
%Solving a generalized eigenvalue problem in Matlab
%Date: October 30, 2010
%Author: Arash Fotouhi
setlmis([])
p=lmivar(1,[n 1])
q=lmivar(2,[m m])
y=lmivar(1,[n 1])
lmiterm([1 1 1 0],0)
lmiterm([-1 1 1 p],1,1)
lmiterm([2 1 1 p],1,A,'s')
lmiterm([2 1 1 0],C)
lmiterm([2 2 1 p],B,1)
lmiterm([2 2 1 q],1,C)
lmiterm([2 2 2 0],-eye(m))
lmiterm([-2 1 1 y],1,1)
lmiterm([-2 2 1 0],0)
lmiterm([-2 2 2 0],0)
lmiterm([3 1 1 y],1,1)
lmiterm([-3 1 1 p],1,1)
lmis=getlmis
[lambda,decvars]=gevp(lmis,1)
Popt = dec2mat(lmis,decvars,p)
Qopt = dec2mat(lmis,decvars,q)
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
这个最有可雹首手能是逆的lmi工具箱没有装,matlab什么版本的?别告诉我源嫌是6.0以下,还芹码有安装的时候是不是自定义安装?少了一些工具箱。你做的是鲁棒控制?网络控制?线性控制?
把程序发给我,我给你看看
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)