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

📄 supcon.m

📁 GloptiPoly 3: moments, optimization and semidefinite programming. Gloptipoly 3 is intended to so
💻 M
字号:
function sc = supcon(M)% @MEAS/SUPCON - Measure support constraint%% The instruction%%  [SCEQ,SCGE] = SUPCON(M)%% returns column vectors SCEQ,SCGE of class SUPCON corresponding% respectively to localization equality and inequality constraints% on measure M. The constraints are arranged consistently with the% cell array of dual multipliers returned by function MSOL.% D. Henrion, 27 November 2006if length(M) > 1 error('Please specify only one measure')endim = indmeas(M);sceq = []; for k = 1:length(P.supceq) if indmeas(P.supceq(k)) == im  sceq = [sceq; P.supceq(k)]; endendscge = [];for k = 1:length(P.supcge) if indmeas(P.supcge(k)) == im  scge = [scge; P.supcge(k)]; endend

⌨️ 快捷键说明

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