summaryrefslogtreecommitdiff
path: root/macros/poly2rc.sci
diff options
context:
space:
mode:
authoravinashlalotra2025-04-26 20:09:12 +0530
committeravinashlalotra2025-04-26 20:09:12 +0530
commitea7dcdba3b83696b97cc431ee050b58f9a0f3507 (patch)
tree49ea8ba898b88535c261546f4e3accbdf4c83bdf /macros/poly2rc.sci
parent725d9ee2ddb254f57a896bb47e0e727759eb5901 (diff)
downloadFOSSEE-Signal-Processing-Toolbox-ea7dcdba3b83696b97cc431ee050b58f9a0f3507.tar.gz
FOSSEE-Signal-Processing-Toolbox-ea7dcdba3b83696b97cc431ee050b58f9a0f3507.tar.bz2
FOSSEE-Signal-Processing-Toolbox-ea7dcdba3b83696b97cc431ee050b58f9a0f3507.zip
formated source documentation pattern for generating docs
Diffstat (limited to 'macros/poly2rc.sci')
-rw-r--r--macros/poly2rc.sci4
1 files changed, 1 insertions, 3 deletions
diff --git a/macros/poly2rc.sci b/macros/poly2rc.sci
index cfdbec6..7010ec6 100644
--- a/macros/poly2rc.sci
+++ b/macros/poly2rc.sci
@@ -1,16 +1,13 @@
function [kr, R0]=poly2rc(a, efinal)
-
//poly2rc function convert prediction polynomial to reflection coefficients.
// Calling Sequence
// kr = poly2rc(a)
// [kr, R0] = rc2poly(a, efinal)
-
// Parameters
// a: prediction polynomial.
// efinal: final prediction error.
// kr: Return refelection coefficient.
// R0: Return the zero lag autocorrelation, R0.
-
// Examples
//X = [7 6 5 8 3 6]
// [kr, R0] = poly2rc(X)
@@ -19,6 +16,7 @@ function [kr, R0]=poly2rc(a, efinal)
//
// Author
// Jitendra Singh
+
// modified to handle empty vector as i/p by Debdeep Dey
if or(type(a)==10) then
error ('Input arguments must be double.')