From: <par...@us...> - 2010-09-10 12:26:37
|
Revision: 7698 http://octave.svn.sourceforge.net/octave/?rev=7698&view=rev Author: paramaniac Date: 2010-09-10 12:26:26 +0000 (Fri, 10 Sep 2010) Log Message: ----------- control: forgotten informative block closings Modified Paths: -------------- trunk/octave-forge/main/control/inst/@lti/horzcat.m trunk/octave-forge/main/control/inst/@lti/lft.m trunk/octave-forge/main/control/inst/@lti/minus.m trunk/octave-forge/main/control/inst/@lti/mldivide.m trunk/octave-forge/main/control/inst/@lti/mrdivide.m trunk/octave-forge/main/control/inst/@lti/mtimes.m trunk/octave-forge/main/control/inst/@lti/plus.m trunk/octave-forge/main/control/inst/@lti/vertcat.m Modified: trunk/octave-forge/main/control/inst/@lti/horzcat.m =================================================================== --- trunk/octave-forge/main/control/inst/@lti/horzcat.m 2010-09-10 00:26:10 UTC (rev 7697) +++ trunk/octave-forge/main/control/inst/@lti/horzcat.m 2010-09-10 12:26:26 UTC (rev 7698) @@ -36,7 +36,7 @@ if (p1 != p2) error ("lti: horzcat: number of system outputs incompatible: [(%dx%d), (%dx%d)]", p1, m1, p2, m2); - end + endif sys = __sysgroup__ (sys1, sys2); Modified: trunk/octave-forge/main/control/inst/@lti/lft.m =================================================================== --- trunk/octave-forge/main/control/inst/@lti/lft.m 2010-09-10 00:26:10 UTC (rev 7697) +++ trunk/octave-forge/main/control/inst/@lti/lft.m 2010-09-10 12:26:26 UTC (rev 7698) @@ -122,7 +122,7 @@ if (ny > ny_max) error ("lft: argument ny (%d) must be at most %d", ny, ny_max); endif - end + endif M11 = zeros (m1, p1); M12 = [zeros(m1-nu, p2); eye(nu), zeros(nu, p2-nu)]; Modified: trunk/octave-forge/main/control/inst/@lti/minus.m =================================================================== --- trunk/octave-forge/main/control/inst/@lti/minus.m 2010-09-10 00:26:10 UTC (rev 7697) +++ trunk/octave-forge/main/control/inst/@lti/minus.m 2010-09-10 12:26:26 UTC (rev 7698) @@ -31,7 +31,7 @@ if (p1 != p2 || m1 != m2) error ("lti: minus: system dimensions incompatible: (%dx%d) - (%dx%d)", p1, m1, p2, m2); - end + endif sys = __sysgroup__ (sys1, sys2); Modified: trunk/octave-forge/main/control/inst/@lti/mldivide.m =================================================================== --- trunk/octave-forge/main/control/inst/@lti/mldivide.m 2010-09-10 00:26:10 UTC (rev 7697) +++ trunk/octave-forge/main/control/inst/@lti/mldivide.m 2010-09-10 12:26:26 UTC (rev 7698) @@ -33,7 +33,7 @@ if (m2 != p1) error ("lti: mldivide: system dimensions incompatible: (%dx%d) \ (%dx%d)", p1, m1, p2, m2); - end + endif sys = sys1 * sys2; Modified: trunk/octave-forge/main/control/inst/@lti/mrdivide.m =================================================================== --- trunk/octave-forge/main/control/inst/@lti/mrdivide.m 2010-09-10 00:26:10 UTC (rev 7697) +++ trunk/octave-forge/main/control/inst/@lti/mrdivide.m 2010-09-10 12:26:26 UTC (rev 7698) @@ -33,7 +33,7 @@ if (m2 != p1) error ("lti: mrdivide: system dimensions incompatible: (%dx%d) / (%dx%d)", p1, m1, p2, m2); - end + endif sys = sys1 * sys2; Modified: trunk/octave-forge/main/control/inst/@lti/mtimes.m =================================================================== --- trunk/octave-forge/main/control/inst/@lti/mtimes.m 2010-09-10 00:26:10 UTC (rev 7697) +++ trunk/octave-forge/main/control/inst/@lti/mtimes.m 2010-09-10 12:26:26 UTC (rev 7698) @@ -31,7 +31,7 @@ if (m2 != p1) error ("lti: mtimes: system dimensions incompatible: (%dx%d) * (%dx%d)", p2, m2, p1, m1); - end + endif M22 = zeros (m2, p2); M21 = eye (m2, p1); Modified: trunk/octave-forge/main/control/inst/@lti/plus.m =================================================================== --- trunk/octave-forge/main/control/inst/@lti/plus.m 2010-09-10 00:26:10 UTC (rev 7697) +++ trunk/octave-forge/main/control/inst/@lti/plus.m 2010-09-10 12:26:26 UTC (rev 7698) @@ -32,7 +32,7 @@ if (p1 != p2 || m1 != m2) error ("lti: plus: system dimensions incompatible: (%dx%d) + (%dx%d)", p1, m1, p2, m2); - end + endif sys = __sysgroup__ (sys1, sys2); Modified: trunk/octave-forge/main/control/inst/@lti/vertcat.m =================================================================== --- trunk/octave-forge/main/control/inst/@lti/vertcat.m 2010-09-10 00:26:10 UTC (rev 7697) +++ trunk/octave-forge/main/control/inst/@lti/vertcat.m 2010-09-10 12:26:26 UTC (rev 7698) @@ -36,7 +36,7 @@ if (m1 != m2) error ("lti: vertcat: number of system inputs incompatible: [(%dx%d); (%dx%d)]", p1, m1, p2, m2); - end + endif sys = __sysgroup__ (sys1, sys2); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |