summaryrefslogtreecommitdiff
path: root/help/en_US/isstable.xml
blob: 9b53add42cadd65340a1271de53bffbf0750c141 (plain)
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
<?xml version="1.0" encoding="UTF-8"?>

<!--
 *
 * This help file was generated from isstable.sci using help_from_sci().
 *
 -->

<refentry version="5.0-subset Scilab" xml:id="isstable" xml:lang="en"
          xmlns="http://docbook.org/ns/docbook"
          xmlns:xlink="http://www.w3.org/1999/xlink"
          xmlns:svg="http://www.w3.org/2000/svg"
          xmlns:ns3="http://www.w3.org/1999/xhtml"
          xmlns:mml="http://www.w3.org/1998/Math/MathML"
          xmlns:scilab="http://www.scilab.org"
          xmlns:db="http://docbook.org/ns/docbook">

  <refnamediv>
    <refname>isstable</refname>
    <refpurpose>Checks stability of  given Discrete time system function</refpurpose>
    <para> </para>
  </refnamediv>

<refsynopsisdiv>
   <title>Calling Sequence</title>
   <synopsis>
flag = ismaxphase(b,a)
flag = ismaxphase(sos)
   </synopsis>
    <para> </para>
</refsynopsisdiv>

<refsection>
   <title>Parameters</title>
   <variablelist>
   <varlistentry><term>b</term>
      <listitem><para> Coefficients of numerator polynomial of system function </para></listitem></varlistentry>
   <varlistentry><term>a</term>
      <listitem><para> Coefficients of denumerator polynomial of system function</para></listitem></varlistentry>
   <varlistentry><term>sos</term>
      <listitem><para> Second order section matrix of order Kx6 </para></listitem></varlistentry>
   <varlistentry><term>flag</term>
      <listitem><para> This function returns logical 1 if system is Stable (flag = 1) </para> <para> Otherwise it returns logical 0 (flag = 0)</para></listitem></varlistentry>
   </variablelist>
    <para> </para>
</refsection>

<refsection>
   <title>Description</title>
   <para> This function determines whether the given system function is Stable system function or not. Stable system means all poles of transfer function will be inside the unit circle in z-plane </para>
    <para> </para>
</refsection>

<refsection>
   <title>Example : 1 <para>Example of stable system function </para> </title>
   <para>
    <latex>
      \begin{eqnarray}
      H(z) = \frac{1 +2z^{-1} } {1 -0.7z^{-1} + 0.1 z^{-2} }
      \end{eqnarray}
    </latex>
   </para>
    <para> </para>

   <programlisting role="example"><![CDATA[
b = [1 2] ; //Numerator polynomial coefficients
a = [1 -0.7 0.1] ; //Denumerator polynomial coefficients
flag = isstable(b,a) //This is an example of Stable system, hence it will give output as : flag = 1
]]></programlisting>
</refsection>

<refsection>
<title> Example : 2 <para>Example of unstable system function</para> </title>

   <para>
    <latex>
      \begin{eqnarray}
      H(z) = \frac{1 +2z^{-1} } {1 +5z^{-1} + 6z^{-2} }
      \end{eqnarray}
    </latex>
   </para>
    <para> </para>

   <programlisting role="example"><![CDATA[
b = [1 2] ; //Numerator polynomial coefficients
a = [1 5 6] ; //Denumerator polynomial coefficients
flag = isstable(b,a) //This is an example of Unstable system, hence it will give output as : flag = 0
]]></programlisting>
</refsection>

</refentry>