Mercurial > hg > ltpda
comparison m-toolbox/html_help/help/ug/rational.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>Rational 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;"> </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 "parfrac.html"><img src="b_prev.gif" border="0" align= | |
30 "bottom" alt="Sum of partial fractions representation"></a> <a href= | |
31 "convert_models.html"><img src="b_next.gif" border="0" align= | |
32 "bottom" alt="Converting models between different representations"></a></td> | |
33 </tr> | |
34 </table> | |
35 | |
36 <h1 class="title"><a name="f3-12899" id="f3-12899"></a>Rational representation</h1> | |
37 <hr> | |
38 | |
39 <p> | |
40 | |
41 <p> | |
42 Transfer functions can be expressed as a quocient of polynomials as in the following expression | |
43 </p> | |
44 <br> | |
45 <div align="center"> | |
46 <img src="images/rational_tf_eqn.png" alt="Pole/zero model TF" border="3"> | |
47 </div> | |
48 <br> | |
49 <p> | |
50 The constructor can be used in different ways | |
51 </p> | |
52 <h2>From coefficients</a></h2> | |
53 <p> | |
54 The standard way is to input the coefficients of your filter. The constructor | |
55 accepts as a optional properties the name | |
56 </p> | |
57 <br> | |
58 <div class="fragment"><pre> | |
59 >> rat = rational([1 3 5 7],[5 10 0.01],'filter_name') | |
60 ---- rational 1 ---- | |
61 model: filter_name | |
62 num: [1 3 5 7] | |
63 den: [5 10 0.01] | |
64 iunits: [] | |
65 ounits: [] | |
66 -------------------- | |
67 </pre></div> | |
68 <br> | |
69 <h2>From partial XML file</a></h2> | |
70 You can input a XML file containing a transfer function model into the constructor | |
71 <br> | |
72 <div class="fragment"><pre> | |
73 >> rat = rational('datafile.xml') | |
74 </pre></div> | |
75 <br> | |
76 <h2>From mat file</a></h2> | |
77 You can input a mat file containing a transfer function model into the constructor | |
78 <br> | |
79 <div class="fragment"><pre> | |
80 >> rat = rational('datafile.mat') | |
81 </pre></div> | |
82 <br> | |
83 <h2>From plist</a></h2> | |
84 All the properties of the filter can be specified in a plist and then passed to the constructor: | |
85 <br> | |
86 <div class="fragment"><pre> | |
87 >> pl = plist('iunits','m','ounits','V','num',[1 3 10],'den',[4 6],... | |
88 'name','filter_mame'); | |
89 >> par = parfrac(pl) | |
90 ---- rational 1 ---- | |
91 model: filter_mame | |
92 num: [1 3 10] | |
93 den: [4 6] | |
94 iunits: [m] | |
95 ounits: [V] | |
96 -------------------- | |
97 </pre></div> | |
98 <br> | |
99 <h2>From repository</a></h2> | |
100 Rational transfer function can be obtained from the <a href="repo.html"> repository </a> with the following syntax. | |
101 <br> | |
102 <div class="fragment"><pre> | |
103 >> rat = rational('Hostname','localhost','Database','ltpda',... | |
104 'ID',[],'CID',[],'Binary',yes) | |
105 </pre></div> | |
106 <br> | |
107 | |
108 </p> | |
109 | |
110 <br> | |
111 <br> | |
112 <table class="nav" summary="Navigation aid" border="0" width= | |
113 "100%" cellpadding="0" cellspacing="0"> | |
114 <tr valign="top"> | |
115 <td align="left" width="20"><a href="parfrac.html"><img src= | |
116 "b_prev.gif" border="0" align="bottom" alt= | |
117 "Sum of partial fractions representation"></a> </td> | |
118 | |
119 <td align="left">Sum of partial fractions representation</td> | |
120 | |
121 <td> </td> | |
122 | |
123 <td align="right">Converting models between different representations</td> | |
124 | |
125 <td align="right" width="20"><a href= | |
126 "convert_models.html"><img src="b_next.gif" border="0" align= | |
127 "bottom" alt="Converting models between different representations"></a></td> | |
128 </tr> | |
129 </table><br> | |
130 | |
131 <p class="copy">©LTP Team</p> | |
132 </body> | |
133 </html> |