Documentation

This is machine translation

Translated by Microsoft
Mouse over text to see original. Click the button below to return to the English verison of the page.

denormalize

Undo filter coefficient and gain changes caused by normalize

Syntax

denormalize(hq)

Description

denormalize(hq) reverses the coefficient changes you make when you use normalize with hq. The filter coefficients do not change if you call denormalize(hq) before you use normalize(hq). Calling denormalize more than once on a filter does not change the coefficients after the first denormalize call.

Examples

collapse all

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)
eqSOSMatrices =

  logical

   0

See Also

Introduced in R2011a

Was this topic helpful?