comparison scripts/control/system/sysgroup.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} {} sysgroup (@var{asys}, @var{bsys}) 20 ## @deftypefn {Function File} {@var{sys} =} sysgroup (@var{asys}, @var{bsys})
21 ## Combines two systems into a single system 21 ## Combines two systems into a single system.
22 ## 22 ##
23 ## @strong{Inputs} 23 ## @strong{Inputs}
24 ## @var{asys}, @var{bsys}: system data structures 24 ## @table @var
25 ## 25 ## @item asys
26 ## @strong{Outputs} 26 ## @itemx bsys
27 ## System data structures.
28 ## @end table
29 ##
30 ## @strong{Output}
31 ## @table @var
32 ## @item sys
27 ## @math{sys = @r{block diag}(asys,bsys)} 33 ## @math{sys = @r{block diag}(asys,bsys)}
34 ## @end table
28 ## @example 35 ## @example
29 ## @group 36 ## @group
30 ## __________________ 37 ## __________________
31 ## | ________ | 38 ## | ________ |
32 ## u1 ----->|--> | asys |--->|----> y1 39 ## u1 ----->|--> | asys |--->|----> y1
37 ## ------------------ 44 ## ------------------
38 ## Ksys 45 ## Ksys
39 ## @end group 46 ## @end group
40 ## @end example 47 ## @end example
41 ## The function also rearranges the internal state-space realization of @var{sys} 48 ## The function also rearranges the internal state-space realization of @var{sys}
42 ## so that the 49 ## so that the continuous states come first and the discrete states come last.
43 ## continuous states come first and the discrete states come last.
44 ## If there are duplicate names, the second name has a unique suffix appended 50 ## If there are duplicate names, the second name has a unique suffix appended
45 ## on to the end of the name. 51 ## on to the end of the name.
46 ## @end deftypefn 52 ## @end deftypefn
47 53
48 ## Author: A. S. Hodel <a.s.hodel@eng.auburn.edu> 54 ## Author: A. S. Hodel <a.s.hodel@eng.auburn.edu>