File: ldiv.man

package info (click to toggle)
scilab 2.6-4
  • links: PTS
  • area: non-free
  • in suites: woody
  • size: 54,632 kB
  • ctags: 40,267
  • sloc: ansic: 267,851; fortran: 166,549; sh: 10,005; makefile: 4,119; tcl: 1,070; cpp: 233; csh: 143; asm: 135; perl: 130; java: 39
file content (38 lines) | stat: -rw-r--r-- 811 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
.TH ldiv 1 "April 1993" "Scilab Group" "Scilab Function"
.so ../sci.an 
.SH NAME
ldiv - polynomial matrix long division
.SH CALLING SEQUENCE
.nf
[x]=ldiv(n,d,k) 
.fi
.SH PARAMETERS
.TP
n,d
: two real polynomial matrices
.TP
k
: integer
.SH DESCRIPTION
\fVx=ldiv(n,d,k)\fR gives the \fVk\fR first coefficients  of the long
division of \fVn\fR by \fVd\fR i.e.  the Taylor expansion of the rational
matrix \fV[nij(z)/dij(z)]\fR near infinity.
.LP
Coefficients of expansion of \fVnij/dij\fR are stored in  
\fVx((i-1)*n+k,j)  k=1:n\fR
.SH EXAMPLE
.nf
wss=ssrand(1,1,3);[a,b,c,d]=abcd(wss);
wtf=ss2tf(wss);
x1=ldiv(numer(wtf),denom(wtf),5)
x2=[c*b;c*a*b;c*a^2*b;c*a^3*b;c*a^4*b]
wssbis=markp2ss(x1',5,1,1);
wtfbis=clean(ss2tf(wssbis))
x3=ldiv(numer(wtfbis),denom(wtfbis),5)
.fi
.SH SEE ALSO
arl2, markp2ss, pdiv