Mercurial > hg > ltpda
comparison m-toolbox/html_help/help/ug/convert_models_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 The different constructors from each transfer function representations accept as | |
2 an input a model from a another representation so that they can all be converted | |
3 between the different representations. In the current LTPDA version, this applies | |
4 for pole/zero model and rational representation. Following versions will cover the | |
5 partial fraction representation. This is shown in the following transformation table: | |
6 | |
7 <div align="center"> | |
8 <img src="images/TransformTable.png" alt="Pole/zero model TF" border="3"> | |
9 </div> | |
10 | |
11 <h2>From pzmodel to rational</a></h2> | |
12 You can transform a <tt>pzmodel</tt> into a <tt>rational</tt> by typing: | |
13 <br> | |
14 <div class="fragment"><pre> | |
15 >> rat = rational(pzmodel) | |
16 </pre></div> | |
17 <br> | |
18 | |
19 <h2>From rational to pzmodel</a></h2> | |
20 You can transform a <tt>rational</tt> into a <tt>pzmodel</tt> by typing: | |
21 <br> | |
22 <div class="fragment"><pre> | |
23 >> rat = pzmodel(rational) | |
24 </pre></div> | |
25 <br> | |
26 | |
27 <h2>Algorithm</a></h2> | |
28 To translate from <tt>rational</tt> to <tt>pzmodel</tt> representation we need to | |
29 compute the roots of a polynomial and the inverse operation is performed going from | |
30 <tt>pzmodel</tt> to <tt>rational</tt>. More information about the algorithm used can be | |
31 found in MATLAB's functions <a href="matlab:doc('poly')">poly</a> and | |
32 <a href="matlab:doc('roots')">roots</a>. | |
33 | |
34 |