Check scaling of SOS filter
s = scalecheck(hd,pnorm)
s = scalecheck(hs,pnorm)
s = scalecheck(hs,pnorm,Name,Value)
checks
the scaling secondorder section (SOS) s
= scalecheck(hd
,pnorm
)dfilt
filter
object hd
.
checks
the scaling of the filter System object™ s
= scalecheck(hs
,pnorm
)hs
.
checks
the scaling of the filter System object s
= scalecheck(hs
,pnorm
,Name,Value
)hs
with
additional options specified by one or more Name,Value
pair
arguments.

Filter scaling for a given pnorm. An optimally scaled filter
has partial norms equal to one. In such cases, For directform I ( For directform II ( When 
Check the Linfnorm scaling of a filter.
% Create filter design specifications hs = fdesign.lowpass; object. hd = ellip(hs); % Design an elliptic sos filter scale(hd,'Linf'); s = scalecheck(hd,'Linf')
In another form:
[b,a]=ellip(10,.5,20,0.5); [s,g]=tf2sos(b,a); hd=dfilt.df1sos(s,g) hd = FilterStructure: 'DirectForm I, SecondOrder Sections' Arithmetic: 'double' sosMatrix: [5x6 double] ScaleValues: [6x1 double] PersistentMemory: false States: [1x1 filtstates.dfiir] 1x1 struct array with no fields. scalecheck(hd,'Linf') ans = 0.7631 0.9627 0.9952 0.9994 1.0000