summaryrefslogtreecommitdiff
path: root/macros/poly2lsf.sci
diff options
context:
space:
mode:
Diffstat (limited to 'macros/poly2lsf.sci')
-rw-r--r--macros/poly2lsf.sci5
1 files changed, 1 insertions, 4 deletions
diff --git a/macros/poly2lsf.sci b/macros/poly2lsf.sci
index 3140992..c95f47a 100644
--- a/macros/poly2lsf.sci
+++ b/macros/poly2lsf.sci
@@ -1,8 +1,5 @@
function lsf=poly2lsf(a)
-
-
//poly2lsf Prediction polynomial to line spectral frequencies.
-
// Calling Sequence
// lsf = poly2lsf(a)
// Parameters
@@ -15,10 +12,10 @@ function lsf=poly2lsf(a)
// lsf = poly2lsf(X)
//EXPECTED OUTPUT:
//lsf =0.7841731 1.5605415 1.8776459 1.8984313 2.3592523
-
//
// Author
// Jitendra Singh
+
//modified to match MATLAb o/p
if(find(a(1,1)==0)==1) then
error ("Input to ROOTS must not contain NaN or Inf");