diff options
author | ttt | 2018-05-04 14:17:52 +0530 |
---|---|---|
committer | ttt | 2018-05-04 14:17:52 +0530 |
commit | e0ee212228386544ca248f0893d001107775ec4b (patch) | |
tree | c8648ca62b221da49af8eae94c2a6e2976c72f6e /macros/ac2poly.sci~ | |
parent | 9d4f22fb6e70ffdbeda496faf516a0c10f0b6133 (diff) | |
download | FOSSEE-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/ac2poly.sci~')
-rw-r--r-- | macros/ac2poly.sci~ | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/macros/ac2poly.sci~ b/macros/ac2poly.sci~ deleted file mode 100644 index 653ccce..0000000 --- a/macros/ac2poly.sci~ +++ /dev/null @@ -1,29 +0,0 @@ -function [a,varargout] = ac2poly(r) -// Convert autocorrelation sequence to polynomial of prediction filter -// -// Calling Sequence -// a = ac2poly(r) -// [a,e] = ac2poly(r) -// -// Parameters -// r: Autocorrelation sequence to be represented with an FIR linear prediction filter -// a: Output polynomial representing the linear prediction filter e/(a(1) + a(2)z + a(3)z^2 .. a(N)z^N-1) -// e: Output scaling for the lienar prediction filter -// -// Description -// Function ac2poly() finds the best fit polynomial for FIR linear prediction filter a, corresponding to the autocorrelation sequence r. a is the same length as r, and is normalized with the first element. So a(1) = 1. -// Author: -// Parthe Pandit -// -// Bibliography -// Kay, Steven M. Modern Spectral Estimation. Englewood Cliffs, NJ: Prentice-Hall, 1988. - -//errcheck -if (type(r) > 1) then - error('Input autocorrelation sequence needs to be of type double'); -end - -[a,e] = levinson(r); -varargout = list(e); - -endfunction |