www.gusucode.com > dsp 案例源码程序 matlab代码 > dsp/DenormalizeFilterCoefficientsExample.m

    %% Denormalize Filter Coefficients
% Construct a quantized filter |hd|.
d=fdesign.highpass('n,F3dB',14,0.45);
hd =design(d,'butter');
hd.arithmetic='fixed';

%% 
% Normalize the filter coefficients
normalize(hd)
NormSOSMatrix = hd.sosMatrix;

%% 
% After normalizing the filter coefficients, restore them to their original
% values by reversing the effects of the |normalize| function.
denormalize(hd)
eqSOSMatrices = isequal(NormSOSMatrix,hd.sosMatrix)