opts = scaleopts(sysobj)
uses the current settings in the filter System object™ to create an options object opts that
contains specified scaling options for second-order section scaling. You can
pass opts as an input to scale to apply scaling
settings to a second-order filter.
Input filter, specified as a dsp.SOSFilter
System object.
Arithmetic type used during analysis, specified as
'double', 'single',
or 'fixed'. The function assumes a double
precision filter when the arithmetic input is not specified and
the filter System object is in an unlocked state. The
scaleopts function chooses the
default values of the scaling options according to the
'arithType' value and the System object settings.
You can create an fdopts.sosscaling object,
opts, using the scaleopts
function.
The following table lists the properties of
opts:
Parameter
Default
Description and Valid
Value
sosReorder
'auto'
Reorder section prior to scaling.
Valid options are
'auto' (default),
'none',
'up',
'down',
'lowpass',
'highpass',
'bandpass', and
'bandstop'.
MaxNumerator
2
Maximum allowed value for numerator
coefficients.
NumeratorConstraint
'none'
Specifies whether and how to
constrain numerator coefficient values. Options
are 'none' (default),
'unit',
'normalize', and
'po2'.
OverflowMode
'wrap'
Sets the way the filter handles
arithmetic overflow situations during scaling.
Valid options are 'wrap'
(default), 'saturate', and
'satall'.
ScaleValueConstraint
'unit'
Specify whether to constrain the
filter scale values, and how to constrain them.
Valid options are 'unit'
(default), 'none', and
'po2'.
MaxScaleValue
'Not
used'
Maximum allowed scale values. The
filter applies the
MaxScaleValue limit only when
you set ScaleValueConstraint to
a value other than unit.
Setting MaxScaleValue to a
numerical value automatically changes the
ScaleValueConstraint setting to
none.
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window.
Web browsers do not support MATLAB commands.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: United States.
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.