scaleFilterSections
Description
scales the sections of the numerator filter coefficients Bg
= scaleFilterSections(B
,g
)B
represented
with Cascaded Transfer Functions (CTF) by applying the scale values specified in g
.
Examples
Input Arguments
Output Arguments
More About
Algorithms
The scaleFilterSections
function scales the matrix B
with a scalar or vector g
and returns Bg
as one of these:
If
g
is a scalar:L = size(B,1); gL = (abs(g))^(1/L); Bg = B*gL; Bg(L,:) = sign(g)*Bg(L,:);
If
g
is a vector with L+1 samples, given L sections:L = size(B,1); gS = g(end); gL = (abs(gS))^(1/L); gl = g(1:end-1); Bg = B.*gl(:)*gL; Bg(L,:) = sign(gS)*Bg(L,:);
References
[1] Lyons, Richard G. Understanding Digital Signal Processing. Upper Saddle River, NJ: Prentice Hall, 2004.
Version History
Introduced in R2023b