summaryrefslogtreecommitdiff
path: root/macros/aryule.sci~
diff options
context:
space:
mode:
authorttt2018-05-04 14:17:52 +0530
committerttt2018-05-04 14:17:52 +0530
commite0ee212228386544ca248f0893d001107775ec4b (patch)
treec8648ca62b221da49af8eae94c2a6e2976c72f6e /macros/aryule.sci~
parent9d4f22fb6e70ffdbeda496faf516a0c10f0b6133 (diff)
downloadFOSSEE-Signal-Processing-Toolbox-e0ee212228386544ca248f0893d001107775ec4b.tar.gz
FOSSEE-Signal-Processing-Toolbox-e0ee212228386544ca248f0893d001107775ec4b.tar.bz2
FOSSEE-Signal-Processing-Toolbox-e0ee212228386544ca248f0893d001107775ec4b.zip
deleted *~ files
Diffstat (limited to 'macros/aryule.sci~')
-rw-r--r--macros/aryule.sci~38
1 files changed, 0 insertions, 38 deletions
diff --git a/macros/aryule.sci~ b/macros/aryule.sci~
deleted file mode 100644
index c933340..0000000
--- a/macros/aryule.sci~
+++ /dev/null
@@ -1,38 +0,0 @@
-function [a, v, k] = aryule (x, p)
-//This function fits an AR (p)-model with Yule-Walker estimates.
-//Calling Sequence
-//a = aryule (x, p)
-//[a, v] = aryule (x, p)
-//[a, v, k] = aryule (x, p)
-//Parameters
-//x: vector of real or complex numbers, length > 2
-//p: positive integer value < length(x) - 1
-//a, v, k: Output variables
-//Description
-//This is an Octave function.
-//This function fits an AR (p)-model with Yule-Walker estimates.
-//The first argument is the data vector which is to be estimated.
-//Output variable a gives the AR coefficients, v gives the variance of the white noise and k gives the reflection coefficients to be used in the lattice filter.
-//Examples
-//aryule([1,2,3,4,5],2)
-//ans =
-// 1. - 0.8140351 0.1192982
-
-funcprot(0);
-rhs = argn(2)
-lhs = argn(1)
-
-if(rhs~=2)
-error("Wrong number of input arguments.")
-end
-
- select(lhs)
- case 1 then
- a = callOctave("aryule",x,p)
- case 2 then
- [a,v] = callOctave("aryule",x,p)
- case 3 then
- [a,v,k] = callOctave("aryule",x,p)
- end
-
-endfunction