Problem fuction feasp

조회 수: 3 (최근 30일)
Jansenn
Jansenn 2011년 6월 14일
I tried to run a program in MATLAB (2008b, 2010a, 2011a) with function "feasp" to solve a LMI but when i tried to run in a laptop using Windows Vista and processor Intel Core™2 Duo T5750 2.00Ghz 32-bit, the "tmin" value is negative for a infeasibility LMI problem. i had no problem in others computers with core solo and Windows XP. Program:
clear all; clc;
A = [1 1; 2 -2]; eig(A)
setlmis([]) P = lmivar(1,[2 1]); lmiterm([1 1 1 P],1,A,'s'); % LMI #1 lmiterm([-2 1 1 P],1,1); % LMI #2: P lmis = getlmis; [tmin,xfeas] = feasp(lmis); tmin
P = dec2mat(lmis,xfeas,P)
Program's answers:
tmin =
-2.8468e-013
P =
1.0e+003 *
0.7710 -1.3731
-1.3731 2.4451

답변 (0개)

카테고리

Help CenterFile Exchange에서 LMI Solvers에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by