Does MATLAB allow us to define a polynomial with unknown coeffcients?
4 次查看(过去 30 天)
显示 更早的评论
Hi does MATLAB allow us to define a polynomial with unknown coefficients? I know the function poly2sym where we enter the array of coefficients as an input. But if I do not have coefficients? I actually need to define two polynomials with unknown coefficients and then equate their product to 1 to find all the coefficients. I know only one of the coefficients in one of the polynomials.
0 个评论
采纳的回答
Walter Roberson
2014-2-5
编辑:Walter Roberson
2014-2-6
syms x
a = sym('a', [3 1]);
a(3)*x^2+a(2)*x+a(1)
4 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Polynomials 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!