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
% @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:
• sortcom % Sort a complex vector.
• ss % Create system structure from state-space data. May be continuous,
• sys2ss % Extract state space representation from system data structure.
• sysdimensions % return the number of states, inputs, and/or outputs in the system
• sysmult % Compute @math{sys = Asys*Bsys} (series connection):
• syssetsignals % change the names of selected inputs, outputs and states.
• sysupdate % Update the internal representation of a system.
• tf % build system data structure from transfer function format data
This function is called by:
• moddemo % Octave Control toolbox demo: Model Manipulations demo.
• sysupdate % Update the internal representation of a system.

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