view scripts/control/is_observable.m @ 78:0fda6e1f90e0

[project @ 1993-08-30 15:40:16 by jwe]
author jwe
date Mon, 30 Aug 1993 15:40:48 +0000
parents 3cccff82b7a6
children 16a24e76d6e0
line wrap: on
line source

function retval = is_observable (a,c,tol)

# usage: is_observable (a, c {,tol})
#
# Returns 1 if the pair (a, c) is observable, or 0 if not.
#
# See also: size, rows, columns, length, is_matrix, is_scalar, is_vector.

# Written by A. S. Hodel (scotte@eng.auburn.edu) August 1993.

  if (nargin == 2)
    retval = is_controllable (a', c');
  elseif (nargin == 3)
    retval = is_controllable (a', c', tol);
  else
    error ("usage: is_observable (a, c {,tol})");
  endif

endfunction