I have to implemet a state feedback design using SOS, but i got this Error, (its just a simple example) , what should i do ? (Matlab-R2010b)
Show older comments
>> syms x y
>> VEC = monomials([x; y],[1 2 3])
??? Error using ==> sprintf Function is not defined for sparse inputs.
Error in ==> int2str at 32 s = sprintf(['%', formatConversion], x);
Error in ==> mysympower at 44 charexpr = [charexpr,char(vartable(i)),'^',int2str(Z(j,i)),'*'];
Error in ==> monomials>oldconstructZ at 98 Z = mysympower(vartable,Z);
Error in ==> monomials at 71 Z = [Z; oldconstructZ(vartable,i)];
2 Comments
Walter Roberson
on 29 Sep 2015
Which toolkit or File Exchange did you get monomials() from?
derecho
on 30 Sep 2015
Accepted Answer
More Answers (0)
Categories
Find more on Entering Commands in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!