File: simp.cat

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 (46 lines) | stat: -rw-r--r-- 1,220 bytes parent folder | download
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
39
40
41
42
43
44
45
46
SIMP             Scilab Group             Scilab Function              SIMP
NAME
   simp - rational simplification
  
CALLING SEQUENCE
 [N1,D1]=simp(N,D)
 H1=simp(H)
PARAMETERS
 N,D  : real polynomials or real matrix polynomials
      
 H    : rational matrix (i.e matrix with entries n/d ,n and d real
      polynomials) 
      
DESCRIPTION
   [n1,d1]=simp(n,d) calculates two polynomials n1 and d1 such that n1/d1 =
  n/d.
  
   If N and D are polynomial matrices the calculation is performed
  element-wise.
  
   H1=simp(H) is also valid (each entry of H is  simplified in H1).
  
   Caution: 
  
   -no threshold is given i.e. simp cannot forces a simplification.
  
   -For linear dynamic systems which include integrator(s) simplification
  changes the static gain. (H(0) for continuous systems or H(1) for
  discrete systems)
  
   -for complex data, simp returns its input(s).
  
   -rational simplification is called after nearly each operations on 
  rationals. It is possible to toggle simplification on or off using
  simp_mode function.
  
EXAMPLES
 s=poly(0,'s');
 [n,d]=simp((s+1)*(s+2),(s+1)*(s-2))
 
 simp_mode(%F);hns=s/s
 simp_mode(%T);hns=s/s
 
SEE ALSO
   roots, trfmod, poly, clean, simp_mode