comparison scripts/control/system/syssub.m @ 5016:bdbee5282954

[project @ 2004-09-22 02:50:35 by jwe]
author jwe
date Wed, 22 Sep 2004 02:50:36 +0000
parents b8105302cfe8
children 4c8a2e4e0717
comparison
equal deleted inserted replaced
5015:6d481b6e349e 5016:bdbee5282954
15 ## You should have received a copy of the GNU General Public License 15 ## You should have received a copy of the GNU General Public License
16 ## along with Octave; see the file COPYING. If not, write to the Free 16 ## along with Octave; see the file COPYING. If not, write to the Free
17 ## Software Foundation, 59 Temple Place, Suite 330, Boston, MA 02111 USA. 17 ## Software Foundation, 59 Temple Place, Suite 330, Boston, MA 02111 USA.
18 18
19 ## -*- texinfo -*- 19 ## -*- texinfo -*-
20 ## @deftypefn {Function File} {} syssub (@var{gsys}, @var{hsys}) 20 ## @deftypefn {Function File} {@var{sys} =} syssub (@var{Gsys}, @var{Hsys})
21 ## Return @math{sys = Gsys - Hsys}. 21 ## Return @math{sys = Gsys - Hsys}.
22 ## 22 ##
23 ## Method: @var{gsys} and @var{hsys} are connected in parallel 23 ## @strong{Method}
24 ##
25 ## @var{Gsys} and @var{Hsys} are connected in parallel.
24 ## The input vector is connected to both systems; the outputs are 26 ## The input vector is connected to both systems; the outputs are
25 ## subtracted. Returned system names are those of @var{gsys}. 27 ## subtracted. Returned system names are those of @var{Gsys}.
26 ## @example 28 ## @example
27 ## @group 29 ## @group
28 ## +--------+ 30 ## +--------+
29 ## +--->| gsys |---+ 31 ## +--->| Gsys |---+
30 ## | +--------+ | 32 ## | +--------+ |
31 ## | +| 33 ## | +|
32 ## u --+ (_)--> y 34 ## u --+ (_)--> y
33 ## | -| 35 ## | -|
34 ## | +--------+ | 36 ## | +--------+ |
35 ## +--->| hsys |---+ 37 ## +--->| Hsys |---+
36 ## +--------+ 38 ## +--------+
37 ## @end group 39 ## @end group
38 ## @end example 40 ## @end example
39 ## @end deftypefn 41 ## @end deftypefn
40 42