Mercurial > hg > octave-terminal
changeset 4855:d62c421f448b
[project @ 2004-04-07 02:41:22 by jwe]
author | jwe |
---|---|
date | Wed, 07 Apr 2004 02:41:22 +0000 |
parents | 4b0f3b055331 |
children | c89b9abf2ffd |
files | scripts/control/system/is_controllable.m scripts/control/system/is_detectable.m scripts/control/system/is_observable.m scripts/control/system/ss.m scripts/control/system/ss2sys.m scripts/control/system/sysprune.m scripts/general/isdefinite.m scripts/statistics/base/cor.m scripts/statistics/base/corrcoef.m scripts/statistics/base/cov.m scripts/statistics/base/moment.m scripts/statistics/distributions/wiener_rnd.m |
diffstat | 12 files changed, 16 insertions(+), 16 deletions(-) [+] |
line wrap: on
line diff
--- 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.
--- 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) ##
--- 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
--- 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
--- 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
--- 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
--- 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}
--- 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}. ##
--- 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})}.
--- 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})}.
--- 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
--- 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. ##