## octave-cvsupdate

 [Octave-cvsupdate] SF.net SVN: octave:[10308] trunk/octave-forge/main/control/inst/@lti/ filtdata.m From: - 2012-04-22 08:22:46 ```Revision: 10308 http://octave.svn.sourceforge.net/octave/?rev=10308&view=rev Author: paramaniac Date: 2012-04-22 08:22:39 +0000 (Sun, 22 Apr 2012) Log Message: ----------- control: doc and style fixes Modified Paths: -------------- trunk/octave-forge/main/control/inst/@lti/filtdata.m Modified: trunk/octave-forge/main/control/inst/@lti/filtdata.m =================================================================== --- trunk/octave-forge/main/control/inst/@lti/filtdata.m 2012-04-21 17:11:22 UTC (rev 10307) +++ trunk/octave-forge/main/control/inst/@lti/filtdata.m 2012-04-22 08:22:39 UTC (rev 10308) @@ -40,7 +40,7 @@ ## In the SISO case, a single vector is possible as well. ## @item den ## Cell of denominator(s). Each denominator is a row vector -## containing the coefficients of the polynomial in descending powers of z^-1. +## containing the coefficients of the polynomial in ascending powers of z^-1. ## den@{i,j@} contains the denominator polynomial from input j to output i. ## In the SISO case, a single vector is possible as well. ## @item tsam @@ -79,7 +79,7 @@ num = cellfun (@__remove_trailing_zeros__, num, "uniformoutput", false); den = cellfun (@__remove_trailing_zeros__, den, "uniformoutput", false); - if (lower (rtype(1)) == "v" && issiso (sys)) + if (strncmpi (rtype, "v", 1) && issiso (sys)) num = num{1}; den = den{1}; endif This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ```