| Contents | Index |
N
A value must be specified. N must be an integer greater than 1.
FoldingFactor defines N, the total number of clock cycles taken for the computation of filter output in an IIR SOS filter with serial architecture.
FoldingFactor is available for df1sos and df2sos filters with serial architecture only. Both FoldingFactor and NumMultipliers generate HDL for an IIR SOS filter with serial architecture, but you must select one property or the other; you may not use both.
If neither NumMultipliers or FoldingFactor is specified, HDL code for the filter is generated with Fully Parallel architecture.
The following example demonstrates generating HDL for an df2sos filter with serial architecture and a folding factor of 9:
Hd = design(fdesign.lowpass, 'ellip', 'FilterStructure', 'df2sos'); Hd.arithmetic = 'fixed'; generatehdl(Hd, 'foldingfactor', 9)
For all the legal values of FoldingFactor, use the helper function:
hdlfilterserialinfo(Hd) Table of folding factors with corresponding number of multipliers for the given filter. | Folding Factor | Multipliers | -------------------------------- | 6 | 3 | | 9 | 2 | | 18 | 1 |

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 |