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

3 visualizaciones (últimos 30 días)
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.

Respuesta aceptada

MathWorks Support Team
MathWorks Support Team el 27 de Jun. de 2009
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');

Más respuestas (0)

Categorías

Más información sobre Single-Rate Filters en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by