summaryrefslogtreecommitdiff
path: root/macros/invfreqz.sci
diff options
context:
space:
mode:
authoravinashlalotra2025-04-26 20:09:12 +0530
committeravinashlalotra2025-04-26 20:09:12 +0530
commitea7dcdba3b83696b97cc431ee050b58f9a0f3507 (patch)
tree49ea8ba898b88535c261546f4e3accbdf4c83bdf /macros/invfreqz.sci
parent725d9ee2ddb254f57a896bb47e0e727759eb5901 (diff)
downloadFOSSEE-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/invfreqz.sci')
-rw-r--r--macros/invfreqz.sci37
1 files changed, 14 insertions, 23 deletions
diff --git a/macros/invfreqz.sci b/macros/invfreqz.sci
index 433100b..ed60b7a 100644
--- a/macros/invfreqz.sci
+++ b/macros/invfreqz.sci
@@ -10,31 +10,22 @@
// Organization: FOSSEE, IIT Bombay
// Email: toolbox@scilab.in
// FIXME: check invfreq.sci for todo's
-/*
- : [B,A] = invfreqz(H,F,nB,nA) ¶
- : [B,A] = invfreqz(H,F,nB,nA,W) ¶
- : [B,A] = invfreqz(H,F,nB,nA,W,iter,tol,'trace') ¶
-
- Fit filter B(z)/A(z)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: normalized frequency (0 to pi) (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] = invfreqz(H, F, nB, nA, W, iter, tol, tr, varargin)
+ // Fit filter B(z)/A(z)to the complex frequency response H at frequency points F.
+ // Calling Sequence
+ // [B,A] = invfreqz(H,F,nB,nA) ¶
+ // [B,A] = invfreqz(H,F,nB,nA,W) ¶
+ // [B,A] = invfreqz(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.
+ // H: desired complex frequency response
+ // F: normalized frequency (0 to pi) (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 = {};