Mercurial > hg > octave-lyh
comparison scripts/control/base/pzmap.m @ 6046:34f96dd5441b
[project @ 2006-10-10 16:10:25 by jwe]
author | jwe |
---|---|
date | Tue, 10 Oct 2006 16:10:31 +0000 |
parents | e9cde940b271 |
children | 2110cc251779 |
comparison
equal
deleted
inserted
replaced
6045:421d8a903df7 | 6046:34f96dd5441b |
---|---|
38 ## @end deftypefn | 38 ## @end deftypefn |
39 | 39 |
40 function [zer, pol]=pzmap (sys) | 40 function [zer, pol]=pzmap (sys) |
41 | 41 |
42 if(nargin != 1) | 42 if(nargin != 1) |
43 usage("pzmap(sys) or [zer,pol] = pzmap(sys)"); | 43 print_usage (); |
44 elseif (!isstruct(sys)); | 44 elseif (!isstruct(sys)); |
45 error("sys must be in system format"); | 45 error("sys must be in system format"); |
46 endif | 46 endif |
47 | 47 |
48 [zer,pol] = sys2zp(sys); | 48 [zer,pol] = sys2zp(sys); |