Mercurial > hg > ltpda
diff 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 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/m-toolbox/html_help/help/ug/convert_models.html Wed Nov 23 19:22:13 2011 +0100 @@ -0,0 +1,100 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" + "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd"> + +<html lang="en"> +<head> + <meta name="generator" content= + "HTML Tidy for Mac OS X (vers 1st December 2004), see www.w3.org"> + <meta http-equiv="Content-Type" content= + "text/html; charset=us-ascii"> + + <title>Converting models between different representations (LTPDA Toolbox)</title> + <link rel="stylesheet" href="docstyle.css" type="text/css"> + <meta name="generator" content="DocBook XSL Stylesheets V1.52.2"> + <meta name="description" content= + "Presents an overview of the features, system requirements, and starting the toolbox."> + </head> + +<body> + <a name="top_of_page" id="top_of_page"></a> + + <p style="font-size:1px;"> </p> + + <table class="nav" summary="Navigation aid" border="0" width= + "100%" cellpadding="0" cellspacing="0"> + <tr> + <td valign="baseline"><b>LTPDA Toolbox</b></td><td><a href="../helptoc.html">contents</a></td> + + <td valign="baseline" align="right"><a href= + "rational.html"><img src="b_prev.gif" border="0" align= + "bottom" alt="Rational representation"></a> <a href= + "pzmodel_filter.html"><img src="b_next.gif" border="0" align= + "bottom" alt="Converting models to digital filters"></a></td> + </tr> + </table> + + <h1 class="title"><a name="f3-12899" id="f3-12899"></a>Converting models between different representations</h1> + <hr> + + <p> + The different constructors from each transfer function representations accept as +an input a model from a another representation so that they can all be converted +between the different representations. In the current LTPDA version, this applies +for pole/zero model and rational representation. Following versions will cover the +partial fraction representation. This is shown in the following transformation table: + +<div align="center"> + <img src="images/TransformTable.png" alt="Pole/zero model TF" border="3"> +</div> + +<h2>From pzmodel to rational</a></h2> +You can transform a <tt>pzmodel</tt> into a <tt>rational</tt> by typing: +<br> +<div class="fragment"><pre> + >> rat = rational(pzmodel) +</pre></div> +<br> + +<h2>From rational to pzmodel</a></h2> +You can transform a <tt>rational</tt> into a <tt>pzmodel</tt> by typing: +<br> +<div class="fragment"><pre> + >> rat = pzmodel(rational) +</pre></div> +<br> + +<h2>Algorithm</a></h2> +To translate from <tt>rational</tt> to <tt>pzmodel</tt> representation we need to +compute the roots of a polynomial and the inverse operation is performed going from +<tt>pzmodel</tt> to <tt>rational</tt>. More information about the algorithm used can be +found in MATLAB's functions <a href="matlab:doc('poly')">poly</a> and +<a href="matlab:doc('roots')">roots</a>. + + + + </p> + + <br> + <br> + <table class="nav" summary="Navigation aid" border="0" width= + "100%" cellpadding="0" cellspacing="0"> + <tr valign="top"> + <td align="left" width="20"><a href="rational.html"><img src= + "b_prev.gif" border="0" align="bottom" alt= + "Rational representation"></a> </td> + + <td align="left">Rational representation</td> + + <td> </td> + + <td align="right">Converting models to digital filters</td> + + <td align="right" width="20"><a href= + "pzmodel_filter.html"><img src="b_next.gif" border="0" align= + "bottom" alt="Converting models to digital filters"></a></td> + </tr> + </table><br> + + <p class="copy">©LTP Team</p> +</body> +</html>