필터 지우기
필터 지우기

Error using SOSTOOLS, FINDLYAP() function

조회 수: 4 (최근 30일)
Matthew Osborne
Matthew Osborne 2020년 7월 13일
댓글: Yi ling 2023년 4월 3일
Hi,
I'm not sure how to fix this error. I tried using str2sym() function to create the variables instead of syms but I get the same error. I'm following the 2016 SOSTOOLS manual but using MATLAB 2019b with the latest SOSTOOLS github files.
>> syms x1 x2;
>> V = findlyap(f,[x1; x2],2)
Error using sym>convertChar (line 1548)
Character vectors and strings in the first argument can only specify a variable or number. To evaluate character vectors and strings representing symbolic
expressions, use 'str2sym'.
Error in sym>tomupad (line 1255)
S = convertChar(x);
Error in sym (line 222)
S.s = tomupad(x);
Error in mysympower (line 58)
ZTemp = sym(ZTemp);
Error in findlyap (line 96)
expr1 = expr1 - epsmat(i,:) * mysympower(vars(i),[2:2:degree]');
Thanks,
Matt
  댓글 수: 1
Yi ling
Yi ling 2023년 4월 3일
Hello! Sorry I come late. You can download the newest version of SOSTOOLS, which is SOSTOOLS.304.zip here.
But I cannot ensure that this will help you. Just try it. I have tried and the problem is solved.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by