comparison m-toolbox/html_help/help/ug/constructor_examples_pole_content.html @ 0:f0afece42f48

Import.
author Daniele Nicolodi <nicolodi@science.unitn.it>
date Wed, 23 Nov 2011 19:22:13 +0100
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:f0afece42f48
1 <!-- $Id: constructor_examples_pole_content.html,v 1.2 2008/03/30 20:40:04 ingo Exp $ -->
2
3 <!-- -------------------------------------------------- -->
4 <!-- --------------- BEGIN CONTENT FILE --------------- -->
5 <!-- -------------------------------------------------- -->
6
7 <!-- --------------- Link box: begin --------------- -->
8 <table border="0" summary="Simple list" class="simplelist_nottable_last">
9 <tr>
10 <td>
11 <a href="constructor_examples_pole.html#empty">Construct empty POLE object</a>
12 </td>
13 </tr>
14 <tr>
15 <td>
16 <a href="constructor_examples_pole.html#xml_file">Construct a POLE object by loading the object from a file</a>
17 </td>
18 </tr>
19 <tr>
20 <td>
21 <a href="constructor_examples_pole.html#real">Construct a POLE object with a real pole</a>
22 </td>
23 </tr>
24 <tr>
25 <td>
26 <a href="constructor_examples_pole.html#complex">Construct a POLE object with a complex pole</a>
27 </td>
28 </tr>
29 </table>
30
31 <p>Poles are specified by in the LTPDA Toolbox by a frequency, f, and (optionally) a quality factor, Q.</p>
32 <!-- --------------- Link box: end --------------- -->
33
34 <!-- --------------- NEXT EXAMPLE --------------- -->
35
36 <hr>
37 <h2 class="title"><a name="empty"></a>Construct empty POLE object</h2>
38 <p>The following example creates an empty pole object</p>
39 <div class="fragment"><pre class="programlisting">
40 p = pole()
41 ---- pole 1 ----
42 None: NaN Hz
43 ----------------
44 </pre></div>
45
46 <!-- --------------- NEXT EXAMPLE --------------- -->
47
48 <hr>
49 <h2 class="title"><a name="xml_file"></a>Construct a POLE object by loading the object from a file</h2>
50 <p>The following example creates a new pole object by loading the pole object from disk.</p>
51 <div class="fragment"><pre class="programlisting">
52 p = pole(<span class="string">'pole.mat'</span>)
53 p = pole(<span class="string">'pole.xml'</span>)
54 </pre></div>
55
56 <!-- --------------- NEXT EXAMPLE --------------- -->
57
58 <hr>
59 <h2 class="title"><a name="real"></a>Construct a POLE object with a real pole</h2>
60 <p>The following code fragment creates a real pole at 1Hz:</p>
61 <div class="fragment"><pre class="programlisting">
62 p = pole(1)
63 ---- pole 1 ----
64 real pole: 1 Hz
65 ----------------
66 </pre></div>
67 <p>It is also possible to use a parameter list (PLIST) object</p>
68 <div class="fragment"><pre class="programlisting">
69 pl = plist(<span class="string">'f'</span>, 1);
70
71 p = pole(pl)
72 ---- pole 1 ----
73 real pole: 1 Hz
74 ----------------
75 </pre></div>
76
77 <!-- --------------- NEXT EXAMPLE --------------- -->
78
79 <hr>
80 <h2 class="title"><a name="complex"></a>Construct a POLE object with a complex pole</h2>
81 <p>To create a complex pole, you can specify a quality factor. For example</p>
82 <div class="fragment"><pre class="programlisting">
83 p = pole(10,4)
84 ---- pole 1 ----
85 complex pole: 10 Hz, Q=4 [-0.0019894+0.015791i]
86 ----------------
87 </pre></div>
88 <p>It is also possible to use a parameter list (PLIST) object</p>
89 <div class="fragment"><pre class="programlisting">
90 pl = plist(<span class="string">'f'</span>, 10, <span class="string">'q'</span>, 4);
91
92 pole(pl)
93 ---- pole 1 ----
94 complex pole: 10 Hz, Q=4 [-0.0019894+0.015791i]
95 ----------------
96 </pre></div>
97
98 <!-- ------------------------------------------------ -->
99 <!-- --------------- END CONTENT FILE --------------- -->
100 <!-- ------------------------------------------------ -->