How quantization is impletemented in matlab ( by quantization i mean either the conversion from floating point format to fixed point or the conversion from fixedpoint q-format to an other fixed point format)
8 views (last 30 days)
Andy Bartlett on 2 Aug 2022
Edited: Andy Bartlett on 2 Aug 2022
Yes, Fixed-Point Designer product makes it easy to handle fixed-point in MATLAB and Simulink.
will make it easy to handle fixed-point types.
Here is a MATLAB example of converting to fixed-point and then back to double precision floating.
format long g
vOriginal = pi
vFi = fi(vOriginal,1,16,8)
vRoundTrip = double(vFi)
Code Generation Fixed-Point Designer Fixed-Point and Floating-Point Basics Digital Number Representation