Documentation

This is machine translation

Translated by Microsoft
Mouse over text to see original. Click the button below to return to the English verison of the page.

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

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');
hd.arithmetic='fixed';
IsSOS=issos(hd);

The fixed-point filter hd is in second-order section form, as is the double-precision version.

Introduced in R2011a

Was this topic helpful?