File: ldiv.man

package info (click to toggle)
scilab 2.4-1
  • links: PTS
  • area: non-free
  • in suites: potato, slink
  • size: 55,196 kB
  • ctags: 38,019
  • sloc: ansic: 231,970; fortran: 148,976; tcl: 7,099; makefile: 4,585; sh: 2,978; csh: 154; cpp: 101; asm: 39; sed: 5
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