summaryrefslogtreecommitdiff
path: root/help/en_US/bilinear.xml
blob: e6a2e46049fbbcf693d34beaf8665a6521bb32bb (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
92
93
94
95
96
97
98
<?xml version="1.0" encoding="UTF-8"?>

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

<refentry version="5.0-subset Scilab" xml:id="bilinear" 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>bilinear</refname>
    <refpurpose>Transforms a s-plane filter (Analog) into a z-plane filter (Digital) using Bilinear transformation</refpurpose>
  </refnamediv>


<refsynopsisdiv>
   <title>Calling Sequence</title>
   <synopsis>
    [Zb, Za] = bilinear(Sb, Sa, T)
    [Zb, Zb] = bilinear(Sz, Sp, Sg, T)
    [Zz, Zp, Zg] = bilinear(...)
   </synopsis>
</refsynopsisdiv>

<refsection>
   <title>Parameters</title>
   <variablelist>
   <varlistentry><term>Sb:</term>
      <listitem><para> Numerator coefficient vector in s-domain. </para></listitem></varlistentry>
   <varlistentry><term>Sa:</term>
      <listitem><para> Denumerator coefficient vector s-domain.</para></listitem></varlistentry>
   <varlistentry><term>Sz:</term>
      <listitem><para> zeros in s-plane.</para></listitem></varlistentry>
   <varlistentry><term>Sp:</term>
      <listitem><para> poles in s-plane.</para></listitem></varlistentry>
   <varlistentry><term>Sg:</term>
      <listitem><para> gain in s-domain.</para></listitem></varlistentry>
   <varlistentry><term>T:</term>
      <listitem><para> Sampling period (double).</para></listitem></varlistentry>
   <varlistentry><term>Zb:</term>
      <listitem><para> Numerator coefficient vector in z-domain.</para></listitem></varlistentry>
   <varlistentry><term>Za:</term>
      <listitem><para> Denumerator coefficient vector z-domain.</para></listitem></varlistentry>
   <varlistentry><term>Zz:</term>
      <listitem><para> zeros in z-plane.</para></listitem></varlistentry>
   <varlistentry><term>Zp:</term>
      <listitem><para> poles in z-plane.</para></listitem></varlistentry>
   <varlistentry><term>Zg:</term>
      <listitem><para> gain in z-domain.</para></listitem></varlistentry>
   </variablelist>
</refsection>

<refsection>
   <title>Description</title>
   <para>
a filter design can be transformed from the s-plane to the z-plane while maintaining the band edges by means of the bilinear transform. This maps the left hand side of the s-plane into the interior of the unit circle in z-plane. The mapping is highly non-linear, so you must design your filter with band edges in the s-plane positioned at 2/T tan(w*T/2) so that they will be positioned at w after the bilinear transform is complete.
   </para>
   <para>
It does following transformation from s-plane to z-plane
   </para>

   <para>
    <latex>
      \begin{eqnarray}
      s --> \frac{2} {T} \frac {z - 1} {z + 1}
      \end{eqnarray}
    </latex>
   </para>
</refsection>

<refsection>
   <title>Examples</title>
   <programlisting role="example"><![CDATA[
Sz = [1 2 3]
Sp = [4 5 6]
Sg = 1;
T = 1;
[Zb,Za] = bilinear (Sz, Sp, Sg, T)

   ]]></programlisting>
</refsection>

<refsection>
<title>Modified by :</title>
<simplelist type="vert">
<member>Sonu Sharma, RGIT Mumbai (fellow at FOSSEE, IIT Bombay)</member>
    </simplelist>
</refsection>

</refentry>