~ubuntu-branches/ubuntu/karmic/scilab/karmic

« back to all changes in this revision

Viewing changes to man/polynomials/ldiv.cat

  • Committer: Bazaar Package Importer
  • Author(s): Torsten Werner
  • Date: 2002-03-21 16:57:43 UTC
  • Revision ID: james.westby@ubuntu.com-20020321165743-e9mv12c1tb1plztg
Tags: upstream-2.6
ImportĀ upstreamĀ versionĀ 2.6

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
ldiv             Scilab Group             Scilab Function              ldiv
 
2
NAME
 
3
   ldiv - polynomial matrix long division
 
4
  
 
5
CALLING SEQUENCE
 
6
 [x]=ldiv(n,d,k) 
 
7
PARAMETERS
 
8
 n,d  : two real polynomial matrices
 
9
      
 
10
 k    : integer
 
11
      
 
12
DESCRIPTION
 
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)]
 
15
  near infinity.
 
16
  
 
17
   Coefficients of expansion of nij/dij are stored in   x((i-1)*n+k,j) 
 
18
  k=1:n
 
19
  
 
20
EXAMPLE
 
21
 wss=ssrand(1,1,3);[a,b,c,d]=abcd(wss);
 
22
 wtf=ss2tf(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)
 
28
SEE ALSO
 
29
   arl2, markp2ss, pdiv    
 
30