File: sysconv.cat

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 (54 lines) | stat: -rw-r--r-- 1,976 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
47
48
49
50
51
52
53
54

sysconv(1)                     Scilab Function                     sysconv(1)
NAME
  sysconv - system conversion

CALLING SEQUENCE
  [s1,s2]=sysconv(s1,s2)

PARAMETERS
  s1,s2 : list (linear syslin systems)

DESCRIPTION
  Converts s1 and s2 into common representation in order that system inter-
  connexion operations can be applied. Utility function for experts. The
  conversion rules in given in the following table.

  "c"     : continuous time system

  "d"     : discrete time system

  n       : sampled system with sampling period n

  []      : system with undefined time domain

          For mixed systems s1 and s2 are put in state-space representation.
           s1\s2|    "c"     |     "d"     |      n2        |     []     |
           ---------------------------------------------------------------
           "c"   | nothing    |uncompatible | c2e(s1,n2)     |  c(s2)     |
           ---------------------------------------------------------------
           "d"   |uncompatible| nothing     | e(s1,n2)       |  d(s2)     |
           ---------------------------------------------------------------
           n1    | c2e(s2,n1) | e(s2,n1)    | n1<>n2 uncomp  |  e(s2,n1)  |
                 |            |             | n1=n2  nothing |            |
           ---------------------------------------------------------------
           []    | c(s1)      | d(s1)       | e(s1,n2)       |  nothing   |
           ---------------------------------------------------------------
          With the following meaning:

  n1,n2       : sampling period

  c2e(s,n)    : the continuous-time system s is transformed into a sampled
              system with sampling period n.

  c(s)        : conversion to continuous (time domain is "c")

  d(s)        : conversion to discrete (time domain is "d")

  e(s,n)      : conversion to samples system with period n
EXAMPLE
  s1=ssrand(1,1,2);
  s2=ss2tf(s1);
  [s1,s2]=sysconv(s1,s2);
SEE ALSO
  syslin, ss2tf, tf2ss