summaryrefslogtreecommitdiff
path: root/macros/phasedelay.sci
diff options
context:
space:
mode:
Diffstat (limited to 'macros/phasedelay.sci')
-rw-r--r--macros/phasedelay.sci6
1 files changed, 4 insertions, 2 deletions
diff --git a/macros/phasedelay.sci b/macros/phasedelay.sci
index 19aeded..afc4612 100644
--- a/macros/phasedelay.sci
+++ b/macros/phasedelay.sci
@@ -1,10 +1,12 @@
-//Author: Parthasarathi Panda
-//parthasarathipanda314@gmail.com
+
function [phi, varargout]=phasedelay(varargin)
//cas variable is 2 if sos form is involved and 1 if direct rational form is given
//(sos,n) or (sos,w) or (sos,'whole')or (b,a) is the input
//cas variable is 2 if sos form is involved and 1 if direct rational form is given
//cas1 variable is 1 if f is to be given as output, 2 other wise
+//Author: Parthasarathi Panda
+//parthasarathipanda314@gmail.com
+
[nargout,nargin]=argn();
//do not forget to execute 'phaseInputParseAs_sos' and 'phaseInputParseAs_ab' before running
v=size(varargin(1));