issos
Verify if discrete-time System object filter is in second-order sections form
Syntax
Description
Examples
Design Lowpass SOS Filter
By default, fdesign
and design
functions return SOS filters when possible. This example designs a lowpass SOS filter that uses fixed-point arithmetic.
d = fdesign.lowpass('n,fp,ap,ast',40,0.55,0.1,60)
d = lowpass with properties: Response: 'Lowpass' Specification: 'N,Fp,Ap,Ast' Description: {4x1 cell} NormalizedFrequency: 1 FilterOrder: 40 Fpass: 0.5500 Apass: 0.1000 Astop: 60
hd = design(d,'ellip',SystemObject=true)
hd = dsp.SOSFilter with properties: Structure: 'Direct form II' CoefficientSource: 'Property' Numerator: [20x3 double] Denominator: [20x3 double] HasScaleValues: true ScaleValues: [0.9886 1.0000 1.0000 1.0000 1.0000 1.0000 1.0000 1.0000 1.0000 1.0000 1.0000 1.0000 0.9999 0.9998 0.9995 1.0000 1.0084 1.0891 2.2972 0.0131 1] Use get to show all properties
Using the issos
function, verify whether the designed filter is in SOS form.
IsSOS = issos(hd)
IsSOS = logical
1
The filter is in second-order section form.
Input Arguments
sysobj
— Input filter
filter System object
Output Arguments
flag
— Flag to determine if filter is in SOS form
1
| 0
Flag to determine whether the filter is in second-order sections (SOS) form,
returned as a logical scalar. If the filter is in SOS form, issos
returns a logical 1
, else it returns a logical
0
.
Data Types: logical
Version History
Introduced in R2011aR2024b: Support for dsp.VariableFIRDecimator
and dsp.VariableFIRInterpolator
Objects
Starting in R2024b, the issos
analysis function supports the
dsp.VariableFIRDecimator
and dsp.VariableFIRInterpolator
objects.
R2024b: dsp.BiquadFilter
object warns
The dsp.BiquadFilter
object issues a warning and will be removed in a
future release. Use the dsp.SOSFilter
object
instead. For more information on how to replace your existing code, see the
Compatibility Considerations section in the dsp.BiquadFilter
reference page.
R2024b: Support for dsp.DCBlocker
object
Starting in R2024b, this function supports the dsp.DCBlocker
object.
R2023b: Support for dsp.ParallelFilter
and dsp.Delay
Objects
Starting in R2023b, the issos
analysis function supports the
dsp.ParallelFilter
and the dsp.Delay
objects.
R2023b: dsp.BiquadFilter
object will be removed
The dsp.BiquadFilter
object will be removed in a future release. Use
the dsp.SOSFilter
object
instead.
See Also
isallpass
| isfir
| islinphase
| ismaxphase
| isminphase
| isreal
| isstable
MATLAB Command
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: .
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.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)
Asia Pacific
- Australia (English)
- India (English)
- New Zealand (English)
- 中国
- 日本Japanese (日本語)
- 한국Korean (한국어)