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/invfreqs.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/invfreqs.sci')
-rw-r--r-- | macros/invfreqs.sci | 41 |
1 files changed, 16 insertions, 25 deletions
diff --git a/macros/invfreqs.sci b/macros/invfreqs.sci index 99c721b..b8efe4d 100644 --- a/macros/invfreqs.sci +++ b/macros/invfreqs.sci @@ -11,33 +11,24 @@ // Email: toolbox@scilab.in // FIXME: check invfreq.sci for todo's -/* - :[B,A] = invfreqs(H,F,nB,nA) - :[B,A] = invfreqs(H,F,nB,nA,W) - :[B,A] = invfreqs(H,F,nB,nA,W,iter,tol,'trace') - - Fit filter B(s)/A(s)to the complex frequency response H at frequency points F. - - A and B are real polynomial coefficients of order nA and nB. - - Optionally, the fit-errors can be weighted vs frequency according to the weights W. - - Note: all the guts are in invfreq.m - - H: desired complex frequency response - - F: frequency (must be same length as H) - nA: order of the denominator polynomial A - - nB: order of the numerator polynomial B - - W: vector of weights (must be same length as F) - -*/ -// Dependencies -// invfreq function [B, A, SigN] = invfreqs(H,F,nB,nA,W,iter,tol,tr, varargin) + // Fit filter B(s)/A(s)to the complex frequency response H at frequency points F. + // Calling Sequence + // [B,A] = invfreqs(H,F,nB,nA) + // [B,A] = invfreqs(H,F,nB,nA,W) + // [B,A] = invfreqs(H,F,nB,nA,W,iter,tol,'trace') + // Parameters + // A and B are real polynomial coefficients of order nA and nB. + // Optionally, the fit-errors can be weighted vs frequency according to the weights W. + // Note: all the guts are in invfreq.m + // H: desired complex frequency response + // F: frequency (must be same length as H) + // nA: order of the denominator polynomial A + // nB: order of the numerator polynomial B + // W: vector of weights (must be same length as F) +// See also +// invfreq if nargin < 9 varargin = {}; |