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

« back to all changes in this revision

Viewing changes to man/polynomials/simp.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
SIMP             Scilab Group             Scilab Function              SIMP
 
2
NAME
 
3
   simp - rational simplification
 
4
  
 
5
CALLING SEQUENCE
 
6
 [N1,D1]=simp(N,D)
 
7
 H1=simp(H)
 
8
PARAMETERS
 
9
 N,D  : real polynomials or real matrix polynomials
 
10
      
 
11
 H    : rational matrix (i.e matrix with entries n/d ,n and d real
 
12
      polynomials) 
 
13
      
 
14
DESCRIPTION
 
15
   [n1,d1]=simp(n,d) calculates two polynomials n1 and d1 such that n1/d1 =
 
16
  n/d.
 
17
  
 
18
   If N and D are polynomial matrices the calculation is performed
 
19
  element-wise.
 
20
  
 
21
   H1=simp(H) is also valid (each entry of H is  simplified in H1).
 
22
  
 
23
   Caution: 
 
24
  
 
25
   -no threshold is given i.e. simp cannot forces a simplification.
 
26
  
 
27
   -For linear dynamic systems which include integrator(s) simplification
 
28
  changes the static gain. (H(0) for continuous systems or H(1) for
 
29
  discrete systems)
 
30
  
 
31
   -for complex data, simp returns its input(s).
 
32
  
 
33
   -rational simplification is called after nearly each operations on 
 
34
  rationals. It is possible to toggle simplification on or off using
 
35
  simp_mode function.
 
36
  
 
37
EXAMPLES
 
38
 s=poly(0,'s');
 
39
 [n,d]=simp((s+1)*(s+2),(s+1)*(s-2))
 
40
 
 
41
 simp_mode(%F);hns=s/s
 
42
 simp_mode(%T);hns=s/s
 
43
 
 
44
SEE ALSO
 
45
   roots, trfmod, poly, clean, simp_mode 
 
46