| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → Fixed-Point Toolbox |
| Contents | Index |
| Learn more about Fixed-Point Toolbox |
range(a)
[min, max]= range(a)
r = range(q)
[min, max] = range(q)
range(a) returns a fi object with the minimum and maximum possible values of fi object a. All possible quantized real-world values of a are in the range returned. If a is a complex number, then all possible values of real(a) and imag(a) are in the range returned.
[min, max]= range(a) returns the minimum and maximum values of fi object a in separate output variables.
r = range(q) returns the two-element row vector r = [a b] such that for all real x, y = quantize(q,x) returns y in the range a ≤ y ≤ b.
[min, max] = range(q) returns the minimum and maximum values of the range in separate output variables.
q = quantizer('float',[6 3]);
r = range(q)
r =
-14 14
q = quantizer('fixed',[4 2],'floor');
[min,max] = range(q)
min =
-2
max =
1.7500
If q is a floating-point quantizer object, a = -realmax(q), b = realmax(q).
If q is a signed fixed-point quantizer object (datamode = 'fixed'),


If q is an unsigned fixed-point quantizer object (datamode = 'ufixed'),
![]()

See realmax for more information.
eps, exponentmax, exponentmin, fractionlength, intmax, intmin, lowerbound, lsb, max, min, realmax, realmin, upperbound
![]() | randquant | rdivide | ![]() |

Learn how to apply early verification to your development process through these technical resources.
How much time do you spend on testing to ensure implementation meets system-level requirements?
| © 1984-2009- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |