Is it possible to control the individual products and accumulators of my QFILT object with the DSP Blockset 5.0 (R13)?

2 ビュー (過去 30 日間)
I can set the properties for my QFILT object for FIR and IIR filters. However, I do not have access to each accumulator and multiplier input/ output.
QFILT allows me to assign all the attributes at once. However, for optimal design, I need the internal accumulators and multipliers to be of different sizes or need them to have different rounding schemes.
For example,in my project, I need to assign attributes such as "bit width", "type of rounding" etc., to each internal accumulator and multiplier.

採用された回答

MathWorks Support Team
MathWorks Support Team 2009 年 6 月 27 日
The ability to control the individual products and accumulators of the QFILT object is available with the DSP Blockset 5.0(R13).
You can start with a QFILT object "Hq" that has a filter structure and coefficients and then execute the following line of code to get a Simulink model in which you can control individual adders and gains.
realizemdl(Hq)
For a clearer understanding, refer to the example below:
[b,a] = butter(5,.5);
Hq = qfilt('df1',{b,a});
%#1 Default syntax:
realizemdl(Hq);
%#2 Using parameter/value pairs:
realizemdl(Hq, 'BlockType', 'Fixed-point blocks', 'OptimizeZeros', 'on');

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSingle-Rate Filters についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by