Home > freetb4matlab > control > zp2ss.m

zp2ss

PURPOSE ^

% Conversion from zero / pole to state space.

SYNOPSIS ^

function [a, b, c, d] = zp2ss (zer, pol, k)

DESCRIPTION ^

% -*- texinfo -*-
% @deftypefn {Function File} {[@var{a}, @var{b}, @var{c}, @var{d}] =} zp2ss (@var{zer}, @var{pol}, @var{k})
% Conversion from zero / pole to state space.
%
% @strong{Inputs}
% @table @var
% @item zer
% @itemx pol
% Vectors of (possibly) complex poles and zeros of a transfer
% function. Complex values must come in conjugate pairs
% (i.e., @math{x+jy} in @var{zer} means that @math{x-jy} is also in @var{zer}).
% The number of zeros must not exceed the number of poles.
% @item k
% Real scalar (leading coefficient).
% @end table
%
% @strong{Outputs}
% @table @var
% @item @var{a}
% @itemx @var{b}
% @itemx @var{c}
% @itemx @var{d}
% The state space system, in the form:
% @iftex
% @tex
% $$ \dot x = Ax + Bu $$
% $$ y = Cx + Du $$
% @end tex
% @end iftex
% @ifinfo
% @example
%      .
%      x = Ax + Bu
%      y = Cx + Du
% @end example
% @end ifinfo
% @end table
% @end deftypefn

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Sat 16-May-2009 00:04:49 by m2html © 2003