I need to create a vector from a symbolic polynomial function,but when i use sym2poly command, matlab tells me it is not a polynomial, how should i do?
Mostra commenti meno recenti
f1=(497*c1^2 + 497*c2^2 + 497*c3^2 + 11*(c3 + c1*c2)*(c2 - c1*c3)*(c1^2 + c2^2 + c3^2 + 1) + 497)^2/(103684*(c1^2 + c2^2 + c3^2 + 1)^2) + (136*c1^2 + 136*c2^2 + 136*c3^2 + (11*(c2 - c1*c3)*(c1^2 - c2^2 - c3^2 + 1)*(c1^2 + c2^2 + c3^2 + 1))/2 + 136)^2/(103684*(c1^2 + c2^2 + c3^2 + 1)^2) - 1;
sym2poly(f1)
Error using sym/sym2poly (line 30)
Not a polynomial
why matlab tells me this?
Risposta accettata
Più risposte (1)
sebastiano della gatta
il 17 Dic 2021
0 voti
3 Commenti
Star Strider
il 17 Dic 2021
I honestly have no idea. I had to look up Gröbner basis to understand the context. (I have hard of them, however never used them and barely understand them.)
I suggest posting the Gröbner basis question as a separate, new Question, linking to this one as a reference. It is likely someone here (other than me) will be able to provide an appropriate reply.
(I just addressed the single issue posed in the original Question here.)
.
sebastiano della gatta
il 17 Dic 2021
Star Strider
il 17 Dic 2021
As always, my pleasure!
.
Categorie
Scopri di più su Mathematics in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
















