diff options
author | Rashmi Patankar | 2025-04-30 15:01:49 +0530 |
---|---|---|
committer | GitHub | 2025-04-30 15:01:49 +0530 |
commit | 0495a12104d8466509769fc34271757f00577709 (patch) | |
tree | cb208dd421d39051d85f4ef0476c9208ef2c41ab /macros/ismaxphase.sci | |
parent | a0bff158d21c2c12a12781bc5019f3a45bd866b2 (diff) | |
parent | ec6379e7494ff4ca2dc7c7524013d109be450bae (diff) | |
download | FOSSEE-Signal-Processing-Toolbox-master.tar.gz FOSSEE-Signal-Processing-Toolbox-master.tar.bz2 FOSSEE-Signal-Processing-Toolbox-master.zip |
Fixed Failing test scripts
Diffstat (limited to 'macros/ismaxphase.sci')
-rw-r--r-- | macros/ismaxphase.sci | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/macros/ismaxphase.sci b/macros/ismaxphase.sci index 1fda072..0912c73 100644 --- a/macros/ismaxphase.sci +++ b/macros/ismaxphase.sci @@ -1,25 +1,21 @@ +function ismax=ismaxphase(varargin) //ismaxphase Determine whether filter is maximum phase or not - // Description : It determines whether the given system function is maximum phase system or not . Maximum phase system means all zeros of transfer function will be outside the unit circle in z-plane also poles mustbe within unit circle for stability and causality - //Syntax //flag = ismaxphase(b,a) //flag = ismaxphase(sos) //flag = ismaxphase(...,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 maximum phase system //flag = ismaxphase([1 -5 6],1) - //Output // flag = // // 1. - //Author: Parthasarathi Panda //parthasarathipanda314@gmail.com -function ismax=ismaxphase(varargin) + [nargout,nargin]=argn(); if (nargin==2) then a=varargin(1); |