Polynomial coefficient vector derived from sub-polynomial factors

版本 1.1.0.0 (1.7 KB) 作者: Feng Cheng Chang
A polynomial coefficient vector is derived from several powered polynomial factors.
1.3K 次下载
更新时间 2009/4/27

查看许可证

For given
p(x) = PROD[i=1,m]{SUM[j=2,n+2]{(A(i,j)*x^(j-2))^A(i,1)}}
we shall get
p(x) = SUM[s=1,N+1]{p(s)^(N+1-s)}

For example
If
p(x) = (x-4)^5 * (3x^6-7x^3+5x+2)^2 * (x^3+8)^3 * x^2
or
A = [ 5 -4 1 0 0 0 0 0
2 2 5 0 -7 0 0 3
3 8 0 0 1 0 0 0
1 0 0 1 0 0 0 0 ]
then from
p = polyget(A)
we get
p = [ 9 -180 1440 -5586 .... -7864320 -209715 0 0 ]
or
p(x) = 9x^28-180x^27+1440x^26-5586x^25+ ... -7864320x^3-2097152x^2.

This routine is mainly to be used for creating test polynomials to
(a) determine the polynomial GCD of a pair of polynomials,
(b) find the roots with muliplicities of a given polynomial.

References in MATLAB Central:
(1) "GCD of polynomials,"
File ID 20859, 12 Apr 2009
(2) "Factorization of a polynomial with multiple roots,"
File ID: 20867, 27 Jul 2008
(3) "Multiple-roots polynomial solved by partial fraction expansion,"
File ID: 22375, 10 Dec 2008

F C Chang 04/25/09

引用格式

Feng Cheng Chang (2026). Polynomial coefficient vector derived from sub-polynomial factors (https://ww2.mathworks.cn/matlabcentral/fileexchange/23900-polynomial-coefficient-vector-derived-from-sub-polynomial-factors), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R13
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Polynomials 的更多信息
版本 已发布 发行说明
1.1.0.0

Correct typo in m-file

1.0.0.0