1
sylmX Scilab Group Scilab Function sylmX
3
sylm - Sylvester matrix
13
sylm(a,b) gives the Sylvester matrix associated to polynomials a and b,
14
i.e. the matrix S such that:
16
coeff( a*x + b*y )' = S * [coeff(x)';coeff(y)'].
18
Dimension of S is equal to degree(a)+degree(b).
20
If a and b are coprime polynomials then
22
rank(sylm(a,b))=degree(a)+degree(b)) and the instructions
24
u = sylm(a,b) \ eye(na+nb,1)
25
x = poly(u(1:nb),'z','coeff')
26
y = poly(u(nb+1:na+nb),'z','coeff')
27
compute Bezout factors x and y of minimal degree such that a*x+b*y = 1