Home > freetb4matlab > control > impulse.m

impulse

PURPOSE ^

% Impulse response for a linear system.

SYNOPSIS ^

function [y, t] = impulse (sys, inp, tstop, n)

DESCRIPTION ^

% -*- texinfo -*-
% @deftypefn {Function File} {[@var{y}, @var{t}] =} impulse (@var{sys}, @var{inp}, @var{tstop}, @var{n})
% Impulse response for a linear system.
% The system can be discrete or multivariable (or both).
% If no output arguments are specified, @code{impulse}
% produces a plot or the impulse response data for system @var{sys}.
%
% @strong{Inputs}
% @table @var
% @item sys
% System data structure.
% @item inp
% Index of input being excited
% @item tstop
% The argument @var{tstop} (scalar value) denotes the time when the
% simulation should end.
% @item n
% the number of data values.
%
% Both parameters @var{tstop} and @var{n} can be omitted and will be
% computed from the eigenvalues of the A Matrix.
% @end table
% @strong{Outputs}
% @table @var
% @item y
% Values of the impulse response.
% @item t
% Times of the impulse response.
% @end table
% @seealso{step}
% @end deftypefn

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Fri 22-May-2009 15:13:00 by m2html © 2003