issos

Determine whether filter is SOS form

Syntax

issos(hd)
issoss(hs)

Description

issos(hd) determines whether quantized filter hq consists of second-order sections. Returns 1 if all sections of quantized filter hq have order less than or equal to two, and 0 otherwise.

issoss(hs) determines whether the filter System object™ hs consists of second-order sections, returning 1 if true and 0 if false.

Examples

collapse all

By default, fdesign and design 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);
hd = design(d,'ellip','SystemObject',true);
IsSOS=issos(hd)
IsSOS = logical
   1

The filter is in second-order section form.

Introduced in R2011a