Scilab Home page | Wiki | Bug tracker | Forge | Mailing list archives | ATOMS | File exchange
Change language to: English - Français - Português - 日本語 -

See the recommended documentation of this function

Справка Scilab >> Signal Processing > filters > eqiir

# eqiir

Design of iir filters

### Calling Sequence

`[cells,fact,zzeros,zpoles]=eqiir(ftype,approx,om,deltap,deltas)`

### Arguments

ftype

filter type (`'lp','hp','sb','bp'`)

approx

design approximation (`'butt','cheb1','cheb2','ellip'`)

om

4-vector of cutoff frequencies (in radians) `om=[om1,om2,om3,om4]`, ```0 <= om1 <= om2 <= om3 <= om4 <= pi``` .When `ftype`='lp' or 'hp', `om3` and `om4` are not used and may be set to 0.

deltap

ripple in the passband. ```0<= deltap <=1```

deltas

ripple in the stopband. ```0<= deltas <=1```

cells

realization of the filter as second order cells

fact

normalization constant

zzeros

zeros in the z-domain

zpoles

poles in the z-domain

### Description

Design of iir filter based on syredi.

The filter obtained is `h(z)=fact`*product of the elements of `cells`.

That is `hz=fact*prod(cells.num)./prod(cells.den).`

### Examples

```[cells,fact,zzeros,zpoles]=eqiir('lp','ellip',[2*%pi/10,4*%pi/10],0.02,0.001)
h=fact*poly(zzeros,'z')/poly(zpoles,'z')```

• eqfir — minimax approximation of FIR filter
• iir — iir digital filter
• syredi — Design of iir filters, syredi code interface
{"ft_lang_label":"__label__en","ft_lang_prob":0.50609505,"math_prob":0.7700154,"size":1409,"snap":"2022-27-2022-33","text_gpt3_token_len":497,"char_repetition_ratio":0.10035587,"word_repetition_ratio":0.0,"special_character_ratio":0.297374,"punctuation_ratio":0.136,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.96407974,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2022-07-02T23:09:46Z\",\"WARC-Record-ID\":\"<urn:uuid:2fc2f1e5-7273-4f76-af05-443d2c486474>\",\"Content-Length\":\"27363\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:c4845d39-9144-4dea-8c6a-d9496121ceaf>\",\"WARC-Concurrent-To\":\"<urn:uuid:24f0ec1a-9e5e-467a-b9cd-8d1d8012460f>\",\"WARC-IP-Address\":\"176.9.3.186\",\"WARC-Target-URI\":\"https://help.scilab.org/docs/5.5.2/ru_RU/eqiir.html\",\"WARC-Payload-Digest\":\"sha1:6UBZP42FLGO567OGLBXCEQ27O2SAM6U7\",\"WARC-Block-Digest\":\"sha1:YPXTB5UHRK44U4TLUOVLDBJCSXCHF7EL\",\"WARC-Identified-Payload-Type\":\"application/xhtml+xml\",\"warc_filename\":\"/cc_download/warc_2022/CC-MAIN-2022-27/CC-MAIN-2022-27_segments_1656104205534.63_warc_CC-MAIN-20220702222819-20220703012819-00126.warc.gz\"}"}