diff options
Diffstat (limited to 'macros/isminphase.sci')
-rw-r--r-- | macros/isminphase.sci | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/macros/isminphase.sci b/macros/isminphase.sci index 9a76e0f..5bbf65f 100644 --- a/macros/isminphase.sci +++ b/macros/isminphase.sci @@ -1,25 +1,21 @@ +function ismin=isminphase(varargin) //isminphase Determine whether filter is minimum phase or not - // Description : It determines whether the given system function is minimum phase system or not . Minimum phase system means all zeros of transfer function will be inside the unit circle in z-plane , also poles mustbe within unit circle for stability and causality - //Syntax //flag = isminphase(b,a) //flag = isminphase(sos) //flag = isminphase(...,tol) // b and a are the vectors containing numerator and denumerator coefficients respectively //tol, tolerance is used to determine when two numbers are close enough to be considered equal. - //Example : of minimum phase system //flag = isminphase([1 -0.3 0.02],1) - //Output // flag = // // 1. - //Author: Parthasarathi Panda //parthasarathipanda314@gmail.com -function ismin=isminphase(varargin) + [nargout,nargin]=argn(); if (nargin==2) then a=varargin(1); |