Engee documentation

sosfilt

Digital IIR filtering (biquadratic) of the second order.

Library

EngeeDSP

Syntax

Function call

  • y = sosfilt(sos,x) — applies a second-order digital section filter sos to the input signal x.

    If x — matrix, then the function works on the first dimension and returns filtered data for each column.

Arguments

Input arguments

# sos — second-order digital section filter

+ the L × 6 matrix

Details

A digital filter of second-order sections, defined as a matrix of size on , where — the number of second-order sections. The matrix

It is a digital filter of the second-order sections.

Типы данных

Float32, Float64

# x — input signal

+ vector | the matrix

Details

An input signal specified as a vector or matrix.

Типы данных

Float32, Float64

Support for complex numbers

Yes

# dim — the measurement for which the operation is performed

+ scalar

Details

The dimension that the operation is performed on, set as a positive integer. By default, the function works on the first dimension of the array. x, the size of which is larger 1.

Типы данных

Float32, Float64

Output arguments

# y — filtered signal

+ vector | the matrix

Details

The filtered signal returned as a vector or matrix. Size of the argument y matches the size of the argument x.

Literature

  1. Bank, Balázs. «Converting Infinite Impulse Response Filters to Parallel Form». IEEE Signal Processing Magazine. Vol. 35, Number 3, May 2018, pp. 124–130.

  2. Orfanidis, Sophocles J. Introduction to Signal Processing. Englewood Cliffs, NJ: Prentice-Hall, 1996.