MATLAB: Get max, min and precision of a fi

fiFixed-Point Designer

What is the easiest way to find the maximum or minimum value that a fi can take?
What is the easiest way to find the precision of a fi?

Best Answer

a = fi(pi, true, 16, 12);
xi = intmax(a)
This is code taken from https://www.mathworks.com/help/fixedpoint/ref/intmax.html , which I found as first link by asking an internet search engine for "Matlab fi maximum value".
a = fi(pi, true, 16, 12);
xd = realmax(a)