| Signal Processing Toolbox | ![]() |
Convert a second-order section matrix to cell arrays
Syntax
Description
c = sos2cell(m)
changes an L-by-6 second-order section matrix m generated by tf2sos into a 1-by-L cell array of 1-by-2 cell arrays c. You can use c to specify a quantized filter with L cascaded second-order sections.
The matrix m should have the form
where both bi and ai, with i = 1, ..., L, are 1-by-3 row vectors. The resulting c is a 1-by-L cell array of cells of the form
c = sos2cell(m,g)
with the optional gain term g, prepends the constant value g to c. When you use the added gain term in the command, c is a 1-by-L cell array of cells of the form
Examples
Use sos2cell to convert the 2-by-6 second-order section matrix produced by tf2sos into a 1-by-2 cell array c of cells. Display the second entry in the first cell in c:
See Also
| sinc | sos2ss | ![]() |