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/arcov.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/arcov.sci~')
-rw-r--r-- | macros/arcov.sci~ | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/macros/arcov.sci~ b/macros/arcov.sci~ deleted file mode 100644 index 179e34a..0000000 --- a/macros/arcov.sci~ +++ /dev/null @@ -1,33 +0,0 @@ -function [ar_coeff, var_est] = arcov(data_in, order) -//arcov Autoregressive all-pole model parameters — covariance method -//Calling Syntax -//a = arcov(x,p) -//[a,e] = arcov(x,p) -//a, contains normalized estimates of the AR system parameters, A(z), in descending powers of z. -//e variance estimate of the white noise input to the AR model -// x is the input signal -// p is the order of the auto regressive model - - checkNArgin(2,2, argn(2)); - if type(data_in)==10 then - error("Input should not be of type char"); - end - method = 'covariance'; - [ar_coeff, var_est, msg] = arParEst(data_in, order, method); - if ~isempty(msg) then - error(msg); - end - - -endfunction - -function checkNArgin(min_argin, max_argin, num_of_argin) - if num_of_argin < min_argin then - error('Not enough input arguments') - end - - if num_of_argin > max_argin then - error('Too many input arguments') - end - -endfunction |