| Contents | Index |
y=sosfilt(sos,x)
y=sosfilt(sos,x,dim)
y = sosfilt(sos,x) applies the second-order section digital filter sos to the vector x. The output, y, is the same length as x.
sos represents the second-order section digital filter H(z)
![]()
by an L-by-6 matrix containing the coefficients of each second-order section in its rows.

If x is a matrix, sosfilt applies the filter to each column of x independently. The output y is a matrix of the same size, containing the filtered data corresponding to each column of x.
If x is a multidimensional array, sosfilt filters along the first nonsingleton dimension. The output y is a multidimensional array of the same size as x, containing the filtered data corresponding to each row and column of x
y = sosfilt(sos,x,dim) operates along the dimension dim.
[1] Orfanidis, S.J., Introduction to Signal Processing, Prentice-Hall, Englewood Cliffs, NJ, 1996.
filter | medfilt1 | sgolayfilt

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |