summaryrefslogtreecommitdiff
path: root/macros/prony.sci
diff options
context:
space:
mode:
Diffstat (limited to 'macros/prony.sci')
-rw-r--r--macros/prony.sci4
1 files changed, 2 insertions, 2 deletions
diff --git a/macros/prony.sci b/macros/prony.sci
index 9df6a43..11f10ff 100644
--- a/macros/prony.sci
+++ b/macros/prony.sci
@@ -1,3 +1,5 @@
+
+function [b,a]=prony(h,nb,na)
//Prony's method for time-domain design of IIR Filters
//[b,a]=prony(h,nb,na)
//where b= coefficients of the numerator of the TF
@@ -25,8 +27,6 @@
-function [b,a]=prony(h,nb,na)
-
K = length(h)-1;
M=double(nb);
N=double(na);