diff options
author | avinashlalotra | 2025-04-26 20:09:12 +0530 |
---|---|---|
committer | avinashlalotra | 2025-04-26 20:09:12 +0530 |
commit | ea7dcdba3b83696b97cc431ee050b58f9a0f3507 (patch) | |
tree | 49ea8ba898b88535c261546f4e3accbdf4c83bdf /macros/schurrc.sci | |
parent | 725d9ee2ddb254f57a896bb47e0e727759eb5901 (diff) | |
download | FOSSEE-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/schurrc.sci')
-rw-r--r-- | macros/schurrc.sci | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/macros/schurrc.sci b/macros/schurrc.sci index 98448d6..f3d3685 100644 --- a/macros/schurrc.sci +++ b/macros/schurrc.sci @@ -1,15 +1,14 @@ -//schurrc - Schur algorithm. +function [k,e] = schurrc(R) + //schurrc - Schur algorithm. //K = SCHURRC(R) computes the reflection coefficients from autocorrelation vector R. If R is a matrix, SCHURRC finds coefficients for each column of R, and returns them in the columns of K. //[K,E] = SCHURRC(R) returns the prediction error variance E. If R is a matrix, SCHURRC finds the error for each column of R, and returns them in the rows of E. //Modified to match matlab i/p and o/p and handle exceptions //Fixed bugs //by Debdeep Dey - //////EXAMPLES: //m=linspace(1,100); //r = xcorr(m(1:5),'unbiased');.......autocorrelation vector //[k,e] = schurrc(r(5:$)) - //EXPECTED OUTPUT //e =1.6212406 //k = - 0.9090909 0.2222222 0.2244898 0.2434211 @@ -17,7 +16,6 @@ -function [k,e] = schurrc(R) narginchk(1,1,argn(2)); if(type(R)==10) then// R is a matrix of character strings w=R; |