comparison m-toolbox/html_help/help/ug/convert_models.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>Converting models between different representations (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 "rational.html"><img src="b_prev.gif" border="0" align=
30 "bottom" alt="Rational representation"></a>&nbsp;&nbsp;&nbsp;<a href=
31 "pzmodel_filter.html"><img src="b_next.gif" border="0" align=
32 "bottom" alt="Converting models to digital filters"></a></td>
33 </tr>
34 </table>
35
36 <h1 class="title"><a name="f3-12899" id="f3-12899"></a>Converting models between different representations</h1>
37 <hr>
38
39 <p>
40 The different constructors from each transfer function representations accept as
41 an input a model from a another representation so that they can all be converted
42 between the different representations. In the current LTPDA version, this applies
43 for pole/zero model and rational representation. Following versions will cover the
44 partial fraction representation. This is shown in the following transformation table:
45
46 <div align="center">
47 <img src="images/TransformTable.png" alt="Pole/zero model TF" border="3">
48 </div>
49
50 <h2>From pzmodel to rational</a></h2>
51 You can transform a <tt>pzmodel</tt> into a <tt>rational</tt> by typing:
52 <br>
53 <div class="fragment"><pre>
54 >> rat = rational(pzmodel)
55 </pre></div>
56 <br>
57
58 <h2>From rational to pzmodel</a></h2>
59 You can transform a <tt>rational</tt> into a <tt>pzmodel</tt> by typing:
60 <br>
61 <div class="fragment"><pre>
62 >> rat = pzmodel(rational)
63 </pre></div>
64 <br>
65
66 <h2>Algorithm</a></h2>
67 To translate from <tt>rational</tt> to <tt>pzmodel</tt> representation we need to
68 compute the roots of a polynomial and the inverse operation is performed going from
69 <tt>pzmodel</tt> to <tt>rational</tt>. More information about the algorithm used can be
70 found in MATLAB's functions <a href="matlab:doc('poly')">poly</a> and
71 <a href="matlab:doc('roots')">roots</a>.
72
73
74
75 </p>
76
77 <br>
78 <br>
79 <table class="nav" summary="Navigation aid" border="0" width=
80 "100%" cellpadding="0" cellspacing="0">
81 <tr valign="top">
82 <td align="left" width="20"><a href="rational.html"><img src=
83 "b_prev.gif" border="0" align="bottom" alt=
84 "Rational representation"></a>&nbsp;</td>
85
86 <td align="left">Rational representation</td>
87
88 <td>&nbsp;</td>
89
90 <td align="right">Converting models to digital filters</td>
91
92 <td align="right" width="20"><a href=
93 "pzmodel_filter.html"><img src="b_next.gif" border="0" align=
94 "bottom" alt="Converting models to digital filters"></a></td>
95 </tr>
96 </table><br>
97
98 <p class="copy">&copy;LTP Team</p>
99 </body>
100 </html>