diff options
author | Abhinav Dronamraju | 2017-11-27 15:08:47 +0530 |
---|---|---|
committer | Abhinav Dronamraju | 2017-11-27 15:08:47 +0530 |
commit | 2bb28947f9736c1c65dd338bf1bc8fcc2570b22d (patch) | |
tree | 1119f866d3884fbeed16a617f99b4b0ec471be8c /macros/durbinlevinson.sci | |
parent | 11f08cc395ea1b0de77af3dbb87a985418fc3800 (diff) | |
download | FOSSEE-Signal-Processing-Toolbox-2bb28947f9736c1c65dd338bf1bc8fcc2570b22d.tar.gz FOSSEE-Signal-Processing-Toolbox-2bb28947f9736c1c65dd338bf1bc8fcc2570b22d.tar.bz2 FOSSEE-Signal-Processing-Toolbox-2bb28947f9736c1c65dd338bf1bc8fcc2570b22d.zip |
Added functions
Diffstat (limited to 'macros/durbinlevinson.sci')
-rw-r--r-- | macros/durbinlevinson.sci | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/macros/durbinlevinson.sci b/macros/durbinlevinson.sci new file mode 100644 index 0000000..cd56e48 --- /dev/null +++ b/macros/durbinlevinson.sci @@ -0,0 +1,14 @@ +function y= durbinlevinson(C, varargin) + rhs=argn(2); + if(rhs<1 | rhs>3) + error("Wrong number of input arguments"); + end + select(rhs) + case 1 then + y=callOctave("durbinlevinson",C); + case 2 then + y=callOctave("durbinlevinson",C, varargin(1)); + case 3 then + y=callOctave("durbinlevinson",C, varargin(1), varargin(2)); + end +endfunction
\ No newline at end of file |