# HG changeset patch # User jwe # Date 1081305682 0 # Node ID d62c421f448b3036651ee0b9e47aee58f189199b # Parent 4b0f3b055331379dc6d3d5a1d7826e22cdb074cc [project @ 2004-04-07 02:41:22 by jwe] diff --git a/scripts/control/system/is_controllable.m b/scripts/control/system/is_controllable.m --- a/scripts/control/system/is_controllable.m +++ b/scripts/control/system/is_controllable.m @@ -36,7 +36,7 @@ ## @table @var ## @item retval ## Logical flag; returns true (1) if the system @var{sys} or the -## pair (@var{a},@var{b}) is controllable, whichever was passed as input +## pair (@var{a}, @var{b}) is controllable, whichever was passed as input ## arguments. ## @item U ## U is an orthogonal basis of the controllable subspace. diff --git a/scripts/control/system/is_detectable.m b/scripts/control/system/is_detectable.m --- a/scripts/control/system/is_detectable.m +++ b/scripts/control/system/is_detectable.m @@ -19,9 +19,9 @@ ## -*- texinfo -*- ## @deftypefn {Function File} {@var{retval} =} is_detectable (@var{a}, @var{c}, @var{tol}, @var{dflg}) ## @deftypefnx {Function File} {@var{retval} =} is_detectable (@var{sys}, @var{tol}) -## Test for detactability (observability of unstable modes) of (@var{a},@var{c}). +## Test for detactability (observability of unstable modes) of (@var{a}, @var{c}). ## -## Returns 1 if the system @var{a} or the pair (@var{a},@var{c})is +## Returns 1 if the system @var{a} or the pair (@var{a}, @var{c}) is ## detectable, 0 if not, and -1 if the system has unobservable modes at the ## imaginary axis (unit circle for discrete-time systems) ## diff --git a/scripts/control/system/is_observable.m b/scripts/control/system/is_observable.m --- a/scripts/control/system/is_observable.m +++ b/scripts/control/system/is_observable.m @@ -23,7 +23,7 @@ ## ## Default: tol = 10*norm(a,'fro')*eps ## -## Returns 1 if the system @var{sys} or the pair (@var{a},@var{c}) is +## Returns 1 if the system @var{sys} or the pair (@var{a}, @var{c}) is ## observable, 0 if not. ## ## @strong{See} @code{is_controllable} for detailed description of arguments diff --git a/scripts/control/system/ss.m b/scripts/control/system/ss.m --- a/scripts/control/system/ss.m +++ b/scripts/control/system/ss.m @@ -139,8 +139,8 @@ ## @example ## octave:1> a = [1 2 3; 4 5 6; 7 8 10]; ## octave:2> b = [0 0 ; 0 1 ; 1 0]; -## octave:3> c = eye(3); -## octave:4> sys = ss(a,b,c,[],0,3,0,@{"volts","amps","joules"@}); +## octave:3> c = eye (3); +## octave:4> sys = ss (a, b, c, [], 0, 3, 0, @{"volts", "amps", "joules"@}); ## octave:5> sysout(sys); ## Input(s) ## 1: u_1 diff --git a/scripts/control/system/ss2sys.m b/scripts/control/system/ss2sys.m --- a/scripts/control/system/ss2sys.m +++ b/scripts/control/system/ss2sys.m @@ -139,8 +139,8 @@ ## @example ## octave:1> a = [1 2 3; 4 5 6; 7 8 10]; ## octave:2> b = [0 0 ; 0 1 ; 1 0]; -## octave:3> c = eye(3); -## octave:4> sys = ss(a,b,c,[],0,3,0,@{"volts","amps","joules"@}); +## octave:3> c = eye (3); +## octave:4> sys = ss (a, b, c, [], 0, 3, 0, @{"volts", "amps", "joules"@}); ## octave:5> sysout(sys); ## Input(s) ## 1: u_1 diff --git a/scripts/control/system/sysprune.m b/scripts/control/system/sysprune.m --- a/scripts/control/system/sysprune.m +++ b/scripts/control/system/sysprune.m @@ -32,8 +32,8 @@ ## May select as [] (empty matrix) to specify all outputs/inputs. ## ## @example -## retsys = sysprune(Asys,[1:3,4],"u_1"); -## retsys = sysprune(Asys,@{"tx","ty","tz"@}, 4); +## retsys = sysprune (Asys, [1:3,4], "u_1"); +## retsys = sysprune (Asys, @{"tx", "ty", "tz"@}, 4); ## @end example ## ## @end table diff --git a/scripts/general/isdefinite.m b/scripts/general/isdefinite.m --- a/scripts/general/isdefinite.m +++ b/scripts/general/isdefinite.m @@ -18,7 +18,7 @@ ## 02111-1307, USA. ## -*- texinfo -*- -## @deftypefn {Function File} {} isdefinite (@var{x},@var{tol}) +## @deftypefn {Function File} {} isdefinite (@var{x}, @var{tol}) ## Return 1 if @var{x} is symmetric positive definite within the ## tolerance specified by @var{tol} or 0 if @var{x} is symmetric ## positive semidefinite. Otherwise, return -1. If @var{tol} diff --git a/scripts/statistics/base/cor.m b/scripts/statistics/base/cor.m --- a/scripts/statistics/base/cor.m +++ b/scripts/statistics/base/cor.m @@ -19,7 +19,7 @@ ## -*- texinfo -*- ## @deftypefn {Function File} {} cor (@var{x}, @var{y}) -## The (@var{i},@var{j})-th entry of @code{cor (@var{x}, @var{y})} is +## The (@var{i}, @var{j})-th entry of @code{cor (@var{x}, @var{y})} is ## the correlation between the @var{i}-th variable in @var{x} and the ## @var{j}-th variable in @var{y}. ## diff --git a/scripts/statistics/base/corrcoef.m b/scripts/statistics/base/corrcoef.m --- a/scripts/statistics/base/corrcoef.m +++ b/scripts/statistics/base/corrcoef.m @@ -20,7 +20,7 @@ ## -*- texinfo -*- ## @deftypefn {Function File} {} corrcoef (@var{x}, @var{y}) ## If each row of @var{x} and @var{y} is an observation and each column is -## a variable, the (@var{i},@var{j})-th entry of +## a variable, the (@var{i}, @var{j})-th entry of ## @code{corrcoef (@var{x}, @var{y})} is the correlation between the ## @var{i}-th variable in @var{x} and the @var{j}-th variable in @var{y}. ## If called with one argument, compute @code{corrcoef (@var{x}, @var{x})}. diff --git a/scripts/statistics/base/cov.m b/scripts/statistics/base/cov.m --- a/scripts/statistics/base/cov.m +++ b/scripts/statistics/base/cov.m @@ -20,7 +20,7 @@ ## -*- texinfo -*- ## @deftypefn {Function File} {} cov (@var{x}, @var{y}) ## If each row of @var{x} and @var{y} is an observation and each column is -## a variable, the (@var{i},@var{j})-th entry of +## a variable, the (@var{i}, @var{j})-th entry of ## @code{cov (@var{x}, @var{y})} is the covariance between the @var{i}-th ## variable in @var{x} and the @var{j}-th variable in @var{y}. If called ## with one argument, compute @code{cov (@var{x}, @var{x})}. diff --git a/scripts/statistics/base/moment.m b/scripts/statistics/base/moment.m --- a/scripts/statistics/base/moment.m +++ b/scripts/statistics/base/moment.m @@ -18,7 +18,7 @@ ## 02111-1307, USA. ## -*- texinfo -*- -## @deftypefn {Function File} {} moment (@var{x}, @var{p}, @var{opt},@var{dim}) +## @deftypefn {Function File} {} moment (@var{x}, @var{p}, @var{opt}, @var{dim}) ## If @var{x} is a vector, compute the @var{p}-th moment of @var{x}. ## ## If @var{x} is a matrix, return the row vector containing the diff --git a/scripts/statistics/distributions/wiener_rnd.m b/scripts/statistics/distributions/wiener_rnd.m --- a/scripts/statistics/distributions/wiener_rnd.m +++ b/scripts/statistics/distributions/wiener_rnd.m @@ -20,7 +20,7 @@ ## -*- texinfo -*- ## @deftypefn {Function File} {} wiener_rnd (@var{t}, @var{d}, @var{n}) ## Return a simulated realization of the @var{d}-dimensional Wiener Process -## on the interval [0,@var{t}]. If @var{d} is omitted, @var{d} = 1 is +## on the interval [0, @var{t}]. If @var{d} is omitted, @var{d} = 1 is ## used. The first column of the return matrix contains time, the ## remaining columns contain the Wiener process. ##