~ubuntu-branches/debian/sid/octave3.0/sid

« back to all changes in this revision

Viewing changes to doc/interpreter/HTML/sysstructvars.html

  • Committer: Bazaar Package Importer
  • Author(s): Rafael Laboissiere
  • Date: 2007-12-23 16:04:15 UTC
  • Revision ID: james.westby@ubuntu.com-20071223160415-n4gk468dihy22e9v
Tags: upstream-3.0.0
ImportĀ upstreamĀ versionĀ 3.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<html lang="en">
 
2
<head>
 
3
<title>sysstructvars - Untitled</title>
 
4
<meta http-equiv="Content-Type" content="text/html">
 
5
<meta name="description" content="Untitled">
 
6
<meta name="generator" content="makeinfo 4.11">
 
7
<link title="Top" rel="start" href="index.html#Top">
 
8
<link rel="up" href="sysstruct.html#sysstruct" title="sysstruct">
 
9
<link rel="next" href="sysstructtf.html#sysstructtf" title="sysstructtf">
 
10
<link href="http://www.gnu.org/software/texinfo/" rel="generator-home" title="Texinfo Homepage">
 
11
<meta http-equiv="Content-Style-Type" content="text/css">
 
12
<style type="text/css"><!--
 
13
  pre.display { font-family:inherit }
 
14
  pre.format  { font-family:inherit }
 
15
  pre.smalldisplay { font-family:inherit; font-size:smaller }
 
16
  pre.smallformat  { font-family:inherit; font-size:smaller }
 
17
  pre.smallexample { font-size:smaller }
 
18
  pre.smalllisp    { font-size:smaller }
 
19
  span.sc    { font-variant:small-caps }
 
20
  span.roman { font-family:serif; font-weight:normal; } 
 
21
  span.sansserif { font-family:sans-serif; font-weight:normal; } 
 
22
--></style>
 
23
</head>
 
24
<body>
 
25
<div class="node">
 
26
<p>
 
27
<a name="sysstructvars"></a>
 
28
Next:&nbsp;<a rel="next" accesskey="n" href="sysstructtf.html#sysstructtf">sysstructtf</a>,
 
29
Up:&nbsp;<a rel="up" accesskey="u" href="sysstruct.html#sysstruct">sysstruct</a>
 
30
<hr>
 
31
</div>
 
32
 
 
33
<h4 class="subsection">30.1.1 Variables common to all <acronym>OCST</acronym> system formats</h4>
 
34
 
 
35
<p>The data structure elements (and variable types) common to all  system
 
36
representations are listed below; examples of the initialization
 
37
and use of the system data structures are given in subsequent sections and
 
38
in the online demo <code>DEMOcontrol</code>.
 
39
     <dl>
 
40
<dt><var>n</var><dt><var>nz</var><dd>The respective number of continuous and discrete states
 
41
in the system (scalar)
 
42
 
 
43
     <br><dt><var>inname</var><dt><var>outname</var><dd>list of name(s) of the system input, output signal(s). (list of strings)
 
44
 
 
45
     <br><dt><var>sys</var><dd>System status vector.  (vector)
 
46
 
 
47
     <p>This vector indicates both what representation was used to initialize
 
48
the system data structure (called the primary system type) and which
 
49
other representations are currently up-to-date with the primary system
 
50
type (see <a href="structaccess.html#structaccess">structaccess</a>).
 
51
 
 
52
     <p>The value of the first element of the vector indicates the primary
 
53
system type.
 
54
 
 
55
          <dl>
 
56
<dt>0<dd>for tf form (initialized with <code>tf2sys</code> or <code>fir2sys</code>)
 
57
 
 
58
          <br><dt>1<dd>for zp form (initialized with <code>zp2sys</code>)
 
59
 
 
60
          <br><dt>2<dd>for ss form (initialized with <code>ss2sys</code>)
 
61
</dl>
 
62
 
 
63
     <p>The next three elements are boolean flags that indicate whether tf, zp,
 
64
or ss, respectively, are &ldquo;up to date" (whether it is safe to use the
 
65
variables associated with these representations).  These flags are
 
66
changed when calls are made to the <code>sysupdate</code> command.
 
67
 
 
68
     <br><dt><var>tsam</var><dd> Discrete time sampling period  (nonnegative scalar). 
 
69
 <var>tsam</var> is set to 0 for continuous time systems.
 
70
 
 
71
     <br><dt><var>yd</var><dd> Discrete-time output list (vector)
 
72
 
 
73
     <p>indicates which outputs are discrete time (i.e.,
 
74
    produced by D/A converters) and which are continuous time. 
 
75
    yd(ii) = 0 if output ii is continuous, = 1 if discrete. 
 
76
</dl>
 
77
 
 
78
   <p>The remaining variables of the  system data structure are only present
 
79
if the corresponding entry of the <code>sys</code> vector is true (=1).
 
80
 
 
81
   </body></html>
 
82