How can I obtain the quantized filter coefficients as fixed-point objects in Filter Design Toolbox 4.0 (R2006b)?

T
teena_khurana · Dec 27, 2021 · 2.3K views
Question
I create a filter using the FDATOOL or through command line functionality and would like the coefficients returned as fixed-point objects.  
Expert Answer
Profile picture of John Williams
John Williams PhD Expert
Answered Aug 21, 2026
The ability to obtain the quantized filter coefficients as fixed-point objects is not available in the Filter Design Toolbox 4.0 (R2006b).
 
To work around this you can manually convert the coefficients to fixed-point objects as shown below:

d=fdesign.lowpass(0.40,0.54,0.05,50);

hd=design(d,'kaiserwin','filterstructure','dffir');

hd.Arithmetic='fixed';

set(hd,'filterInternals','specifyprecision');

hd.productWordLength = 16;

hd.accumwordLength = 40;

myfi = fimath('maxproductwordlength',16,'maxsumwordlength',40);

numerator = fi(hd.numerator,hd.signed,hd.inputwordlength,...

          hd.inputfracLength, 'fimath', myfi)

 

100% Run Guarantee 3-Hour Fast-Track Delivery

Need a Custom Version or Complete Simulation for This Problem?

Our 500+ PhD engineers build, debug, and optimize working MATLAB scripts and Simulink (.slx) models tailored to your exact assignment rubrics with zero plagiarism.

Tested on MATLAB R2024b / R2026a
Turnitin 0% Plagiarism Report
Free 7-Day Revisions Guarantee
Have a different question? Ask here

Get a Free Consultation or a Sample Assignment Review!