Borrar filtros
Borrar filtros

Error using SOSTOOLS, FINDLYAP() function

4 visualizaciones (últimos 30 días)
Matthew Osborne
Matthew Osborne el 13 de Jul. de 2020
Comentada: Yi ling el 3 de Abr. de 2023
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 comentario
Yi ling
Yi ling el 3 de Abr. de 2023
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.

Iniciar sesión para comentar.

Respuestas (0)

Community Treasure Hunt

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

Start Hunting!

Translated by