Home > freetb4matlab > control > abcddim.m

# abcddim

## PURPOSE

% Check for compatibility of the dimensions of the matrices defining

## SYNOPSIS

function [n, m, p] = abcddim (a, b, c, d)

## DESCRIPTION

% -*- texinfo -*-
% @deftypefn {Function File} {[@var{n}, @var{m}, @var{p}] =} abcddim (@var{a}, @var{b}, @var{c}, @var{d})
% Check for compatibility of the dimensions of the matrices defining
% the linear system
% @iftex
% @tex
% $[A, B, C, D]$ corresponding to
% % \eqalign{ % {dx\over dt} &= A x + B u\cr % y &= C x + D u} %
% @end tex
% @end iftex
% @ifinfo
% [A, B, C, D] corresponding to
%
% @example
% dx/dt = a x + b u
% y = c x + d u
% @end example
%
% @end ifinfo
% or a similar discrete-time system.
%
% If the matrices are compatibly dimensioned, then @code{abcddim} returns
%
% @table @var
% @item n
% The number of system states.
%
% @item m
% The number of system inputs.
%
% @item p
% The number of system outputs.
% @end table
%
% Otherwise @code{abcddim} returns @var{n} = @var{m} = @var{p} = @minus{}1.
%
% Note: n = 0 (pure gain block) is returned without warning.
% @seealso{is_abcd}
% @end deftypefn

## CROSS-REFERENCE INFORMATION

This function calls:
This function is called by:
• dlqg % O B S O L E T E * * * D O N O T U S E~
• packsys % O B S O L E T E: use ss instead.
• series % Forms the series connection of two systems.
• ss % Create system structure from state-space data. May be continuous,
• ss2tf % Conversion from transfer function to state-space.
• ss2zp % Converts a state space representation to a set of poles and zeros;
• tzero2 % Compute the transmission zeros of @var{a}, @var{b}, @var{c}, @var{d}.

Generated on Sat 16-May-2009 00:04:49 by m2html © 2003