diff options
Diffstat (limited to 'macros/impinvar.sci')
-rw-r--r-- | macros/impinvar.sci | 34 |
1 files changed, 13 insertions, 21 deletions
diff --git a/macros/impinvar.sci b/macros/impinvar.sci index 57fdb88..07ec31a 100644 --- a/macros/impinvar.sci +++ b/macros/impinvar.sci @@ -10,28 +10,20 @@ // Organization: FOSSEE, IIT Bombay // Email: toolbox@scilab.in -/* -Calling Sequence -[b_out, a_out] = impinvar (b, a, fs, tol) -[b_out, a_out] = impinvar (b, a, fs) -[b_out, a_out] = impinvar (b, a) -Converts analog filter with coefficients b and a to digital, conserving impulse response. - -If fs is not specified, or is an empty vector, it defaults to 1Hz. - -If tol is not specified, it defaults to 0.0001 (0.1%) This function does the inverse of impinvar so that the following example should restore the original values of a and b. - -invimpinvar implements the reverse of this function. - -[b, a] = impinvar (b, a); -[b, a] = invimpinvar (b, a); -Reference: Thomas J. Cavicchi (1996) “Impulse invariance and multiple-order poles”. IEEE transactions on signal processing, Vol 44 (9): 2344–2347 -Dependencies - residue - - -*/ function [b_out, a_out] = impinvar (b_in, a_in, fs , tol) +// Calling Sequence +// [b_out, a_out] = impinvar (b, a, fs, tol) +// [b_out, a_out] = impinvar (b, a, fs) +// [b_out, a_out] = impinvar (b, a) +// Converts analog filter with coefficients b and a to digital, conserving impulse response. +// If fs is not specified, or is an empty vector, it defaults to 1Hz. +// If tol is not specified, it defaults to 0.0001 (0.1%) This function does the inverse of impinvar so that the following example should restore the original values of a and b. +// invimpinvar implements the reverse of this function. +// [b, a] = impinvar (b, a); +// [b, a] = invimpinvar (b, a); +// Reference: Thomas J. Cavicchi (1996) “Impulse invariance and multiple-order poles”. IEEE transactions on signal processing, Vol 44 (9): 2344–2347 +// Dependencies +// residue error("impinvar: Missing functionality .This function is not implemented yet. Will available in next release"); endfunction /* |