diff options
Diffstat (limited to 'macros/residued.sci')
-rw-r--r-- | macros/residued.sci | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/macros/residued.sci b/macros/residued.sci index cbcbebc..72b668f 100644 --- a/macros/residued.sci +++ b/macros/residued.sci @@ -9,8 +9,10 @@ // Organization: FOSSEE, IIT Bombay // Email: toolbox@scilab.in -// Function File [r, p, f, m] = residued (b, a) + +function [r, p, f, m] = residued(b, a, toler) // Compute the partial fraction expansion (PFE) of filter +// Function File [r, p, f, m] = residued (b, a) // H(z) = B(z)/A(z). In the usual PFE function coderesiduez, the // IIR part (poles p and residues r) is driven in parallel // with the FIR part (f). In this variant, the IIR part is driven by @@ -60,8 +62,6 @@ // 8. // -function [r, p, f, m] = residued(b, a, toler) - // RESIDUED - return residues, poles, and FIR part of B(z)/A(z) // // Let nb = length(b), na = length(a), and N=na-1 = no. of poles. |