1
ldiv Scilab Group Scilab Function ldiv
3
ldiv - polynomial matrix long division
8
n,d : two real polynomial matrices
13
x=ldiv(n,d,k) gives the k first coefficients of the long division of n
14
by d i.e. the Taylor expansion of the rational matrix [nij(z)/dij(z)]
17
Coefficients of expansion of nij/dij are stored in x((i-1)*n+k,j)
21
wss=ssrand(1,1,3);[a,b,c,d]=abcd(wss);
23
x1=ldiv(numer(wtf),denom(wtf),5)
24
x2=[c*b;c*a*b;c*a^2*b;c*a^3*b;c*a^4*b]
25
wssbis=markp2ss(x1',5,1,1);
26
wtfbis=clean(ss2tf(wssbis))
27
x3=ldiv(numer(wtfbis),denom(wtfbis),5)