comparison m-toolbox/html_help/help/ug/parfrac.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 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
2 "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd">
3
4 <html lang="en">
5 <head>
6 <meta name="generator" content=
7 "HTML Tidy for Mac OS X (vers 1st December 2004), see www.w3.org">
8 <meta http-equiv="Content-Type" content=
9 "text/html; charset=us-ascii">
10
11 <title>Sum of partial fractions representation (LTPDA Toolbox)</title>
12 <link rel="stylesheet" href="docstyle.css" type="text/css">
13 <meta name="generator" content="DocBook XSL Stylesheets V1.52.2">
14 <meta name="description" content=
15 "Presents an overview of the features, system requirements, and starting the toolbox.">
16 </head>
17
18 <body>
19 <a name="top_of_page" id="top_of_page"></a>
20
21 <p style="font-size:1px;">&nbsp;</p>
22
23 <table class="nav" summary="Navigation aid" border="0" width=
24 "100%" cellpadding="0" cellspacing="0">
25 <tr>
26 <td valign="baseline"><b>LTPDA Toolbox</b></td><td><a href="../helptoc.html">contents</a></td>
27
28 <td valign="baseline" align="right"><a href=
29 "pzmodel_gui.html"><img src="b_prev.gif" border="0" align=
30 "bottom" alt="Model helper GUI"></a>&nbsp;&nbsp;&nbsp;<a href=
31 "rational.html"><img src="b_next.gif" border="0" align=
32 "bottom" alt="Rational representation"></a></td>
33 </tr>
34 </table>
35
36 <h1 class="title"><a name="f3-12899" id="f3-12899"></a>Sum of partial fractions representation</h1>
37 <hr>
38
39 <p>
40 <p>
41 Transfer functions can be expressed as a quocient of polynomials
42 </p>
43 <br>
44 <div align="center">
45 <img src="images/parfrac_tf_eqn.png" alt="Pole/zero model TF" border="3">
46 </div>
47 <br>
48 <p>
49 The constructor can be used in different ways
50 </p>
51 <h2>From poles and residues</a></h2>
52 <p>
53 The standard way is to input the coefficients of your filter. The constructor
54 accepts as a optional properties the name
55 </p>
56 <br>
57 <div class="fragment"><pre>
58 >> par = parfrac([1 2+1i 2-1i], [6 1+3i 1-3i], [])
59 ---- parfrac 1 ----
60 model: None
61 res: [1;2+i*1;2-i*1]
62 poles: [6;1+i*3;1-i*3]
63 dir: 0
64 pmul: [1;1;1]
65 iunits: []
66 ounits: []
67 -------------------
68 </pre></div>
69 <br>
70 <h2>From partial XML file</a></h2>
71 You can input a XML file containing a transfer function model into the constructor
72 <br>
73 <div class="fragment"><pre>
74 >> par = parfrac('datafile.xml')
75 </pre></div>
76 <br>
77 <h2>From mat file</a></h2>
78 You can input a mat file containing a transfer function model into the constructor
79 <br>
80 <div class="fragment"><pre>
81 >> rat = parfrac('datafile.mat')
82 </pre></div>
83 <br>
84 <h2>From plist</a></h2>
85 All the properties of the filter can be specified in a plist and then passed to the constructor:
86 <br>
87 <div class="fragment"><pre>
88 >> pl = plist('iunits','m','ounits','V','res',[1 2+1i 2-1i],'poles',[6 1+3i 1-3i],...
89 'name','filter_mame');
90 >> par = parfrac(pl)
91 ---- parfrac 1 ----
92 model: filter_mame
93 res: [1;2+i*1;2-i*1]
94 poles: [6;1+i*3;1-i*3]
95 dir: 0
96 pmul: [1;1;1]
97 iunits: [m]
98 ounits: [V]
99 -------------------
100 </pre></div>
101 <br>
102 <h2>From repository</a></h2>
103 Rational transfer function can be obtained from the <a href="repo.html"> repository </a> with the following syntax.
104 <br>
105 <div class="fragment"><pre>
106 >> rat = rational('Hostname','localhost','Database','ltpda',...
107 'ID',[],'CID',[],'Binary',yes)
108 </pre></div>
109 <br>
110
111 </p>
112
113 <br>
114 <br>
115 <table class="nav" summary="Navigation aid" border="0" width=
116 "100%" cellpadding="0" cellspacing="0">
117 <tr valign="top">
118 <td align="left" width="20"><a href="pzmodel_gui.html"><img src=
119 "b_prev.gif" border="0" align="bottom" alt=
120 "Model helper GUI"></a>&nbsp;</td>
121
122 <td align="left">Model helper GUI</td>
123
124 <td>&nbsp;</td>
125
126 <td align="right">Rational representation</td>
127
128 <td align="right" width="20"><a href=
129 "rational.html"><img src="b_next.gif" border="0" align=
130 "bottom" alt="Rational representation"></a></td>
131 </tr>
132 </table><br>
133
134 <p class="copy">&copy;LTP Team</p>
135 </body>
136 </html>