From: <par...@us...> - 2011-07-05 19:08:07
|
Revision: 8375 http://octave.svn.sourceforge.net/octave/?rev=8375&view=rev Author: paramaniac Date: 2011-07-05 19:08:00 +0000 (Tue, 05 Jul 2011) Log Message: ----------- control: add texinfo string to ssdata, use circle for zeros in pzmap Modified Paths: -------------- trunk/octave-forge/main/control/inst/@lti/ssdata.m trunk/octave-forge/main/control/inst/pzmap.m Modified: trunk/octave-forge/main/control/inst/@lti/ssdata.m =================================================================== --- trunk/octave-forge/main/control/inst/@lti/ssdata.m 2011-07-04 13:02:03 UTC (rev 8374) +++ trunk/octave-forge/main/control/inst/@lti/ssdata.m 2011-07-05 19:08:00 UTC (rev 8375) @@ -18,6 +18,29 @@ ## -*- texinfo -*- ## @deftypefn {Function File} {[@var{a}, @var{b}, @var{c}, @var{d}, @var{tsam}] =} ssdata (@var{sys}) ## Access state-space model data. +## Argument @var{sys} is not limited to state-space models. +## If @var{sys} is not a state-space model, it is converted automatically. +## +## @strong{Inputs} +## @table @var +## @item sys +## Any type of LTI model. +## @end table +## +## @strong{Outputs} +## @table @var +## @item a +## State transition matrix (n-by-n). +## @item b +## Input matrix (n-by-m). +## @item c +## Measurement matrix (p-by-n). +## @item d +## Feedthrough matrix (p-by-m). +## @item tsam +## Sampling time in seconds. If @var{sys} is a continuous-time model, +## a zero is returned. +## @end table ## @end deftypefn ## Author: Lukas Reichlin <luk...@gm...> Modified: trunk/octave-forge/main/control/inst/pzmap.m =================================================================== --- trunk/octave-forge/main/control/inst/pzmap.m 2011-07-04 13:02:03 UTC (rev 8374) +++ trunk/octave-forge/main/control/inst/pzmap.m 2011-07-05 19:08:00 UTC (rev 8375) @@ -28,7 +28,6 @@ function [pol_r, zer_r] = pzmap (sys) ## TODO: multiplot feature: pzmap (sys1, "b", sys2, "r", ...) - ## TODO: use better symbols for poles and zeros, fltk backend might be helpful if (nargin != 1) print_usage (); @@ -47,7 +46,7 @@ zer_re = real (zer); zer_im = imag (zer); - plot (pol_re, pol_im, "xb", zer_re, zer_im, "sr") + plot (pol_re, pol_im, "xb", zer_re, zer_im, "or") grid ("on") title (["Pole-Zero Map of ", inputname(1)]) xlabel ("Real Axis") This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |