# filter_sos

Version:

Applies a second-order section filter.

## Syntax

y = filter_sos(s, x)
y = filter_sos(s, x, d)
Legacy name: sosfilt

## x

Input signal to filter. x is a real array. If x is a matrix, the filter operates on each column of x.

## s

Second-order section filter. s is an L-by-6 matrix. Each row of s contains the coefficients of one second-order section as [b0 b1 b2 1 a1 a2].

Dimension.

## y

Filtered signal.

% Apply filter and inverse filter
s = [1 1 1 1 2 1; 1 2 1 1 1 1];
x = 0:0.01:2*pi;
y = filter_sos(s, sin(2.3*x))

Where This Node Can Run:

Desktop OS: Windows

FPGA: This product does not support FPGA devices