scaleFilterSections
R2026bDescription
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
Algorithms
The scaleFilterSections function scales the matrix B
with a scalar or vector g and returns Bg as one of these:
If
gis a scalar:L = size(B,1); gL = (abs(g))^(1/L); Bg = B*gL; Bg(L,:) = sign(g)*Bg(L,:);
If
gis 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,:);
