| Contents | Index |
c=sos2cell(m)
c = sos2cell(m,g)
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
m = [b1 a1;b2 a2; ... ;bL aL]
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 = { {b1 a1} {b2 a2} ... {bL aL} }
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
c = {{g,1} {b1,a1} {b2,a2}...{bL,aL} }
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:
[b,a] = ellip(4,0.5,20,0.6);
m = tf2sos(b,a);
c = sos2cell(m);
c{1}{2}
ans =
1.0000 0.1677 0.2575

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 |