Scale sections of SOS filter
scale(hd)
scale(hd,pnorm)
scale(hd,pnorm,Name,Value)
scale(hd,pnorm,opts)
scale(hs)
scale(
scales the secondorder section filter hd
)hd
using
peak magnitude response scaling (Linfinity, 'Linf'
).
This scaling reduces the possibility of overflows when your filter hd
operates
in fixedpoint arithmetic mode.
scale(
specifies
the norm used to scale the filter.hd
,pnorm
)
scale(
scales
the SOS filter with additional options specified by one or more hd
,pnorm
,Name,Value
)Name,Value
pair
arguments.
scale(
uses
an input scale options object hd
,pnorm
,opts
)opts
to specify the
optional scaling parameters instead of specifying parametervalue
pairs.
scale(
scales
the filter System object™ hs
)hs
. You can also use pnorm
,
namevalue pair arguments, or scale option objects with this syntax.

Discretetime With the 



Discretetimedomain norm or a frequencydomain norm. Valid timedomain norm values for Filter norms can be ordered in terms of how stringent they are,
as follows from most stringent to least: 

Scale options object. You can create the 
Specify optional commaseparated pairs of Name,Value
arguments.
Name
is the argument
name and Value
is the corresponding
value. Name
must appear
inside single quotes (' '
).
You can specify several name and value pair
arguments in any order as Name1,Value1,...,NameN,ValueN
.

For filter System object inputs only, specify the arithmetic
used during analysis. When you specify Details for FixedPoint Arithmetic When you do not specify the arithmetic, the function uses doubleprecision arithmetic if the filter System object is in an unlocked state. If the System object is locked, the function performs analysis based on the locked input data type. 

Maximum allowed value for numerator coefficients. Default: 2 

Maximum allowed scale values. The filter applies the Default: 

Specifies whether and how to constrain numerator coefficient values. Possible options:


Sets the way the filter handles arithmetic overflow situations
during scaling. If your device does not have guard bits available,
and you are using saturation arithmetic for filtering, use 

Specify whether to constrain the filter scale values, and how
to constrain them. Choosing 

Reorder filter sections prior to applying scaling. Possible options:

Demonstrate the Linfnorm scaling of a lowpass elliptic filter
with secondorder sections. Start by creating a lowpass elliptical
filter in zero, pole, gain (z
,p
,k
)
form.
[z,p,k] = ellip(5,1,50,.3); [sos,g] = zp2sos(z,p,k); hd = dfilt.df2sos(sos,g); scale(hd,'linf','scalevalueconstraint','none','maxscalevalue',2)
Dehner, G.F. "Noise Optimized Digital Filter Design: Tutorial and Some New Aspects." Signal Processing. Vol. 83, Number 8, 2003, pp. 1565–1582.
cumsec
 norm
 reorder
 scalecheck
 scaleopts